public enum SourceType extends Enum<SourceType> implements ComponentWithClassName
| Enum Constant and Description |
|---|
AVRO
Avro source.
|
EXEC
Exec source.
|
HTTP
HTTP Source
|
JMS
JMS Source
|
MULTIPORT_SYSLOGTCP
MultiportSyslogTCPSource
|
NETCAT
Netcat source.
|
NETCATUDP
Netcat UDP Source
|
OTHER
Place holder for custom sources not part of this enumeration.
|
SEQ
Sequence generator file source.
|
SPOOLDIR
Spool directory source
|
SYSLOGTCP
SyslogTcpSource
|
SYSLOGUDP
SyslogUDPSource
|
TAILDIR
Taildir Source
|
THRIFT
Thrift Source
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName() |
String |
getSourceClassName()
Deprecated.
|
static SourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceType OTHER
public static final SourceType SEQ
SequenceGeneratorSourcepublic static final SourceType NETCAT
NetcatSourcepublic static final SourceType EXEC
ExecSourcepublic static final SourceType AVRO
AvroSourcepublic static final SourceType SYSLOGTCP
SyslogTcpSourcepublic static final SourceType MULTIPORT_SYSLOGTCP
MultiportSyslogTCPSourcepublic static final SourceType SYSLOGUDP
SyslogUDPSourcepublic static final SourceType SPOOLDIR
SpoolDirectorySourcepublic static final SourceType HTTP
HTTPSourcepublic static final SourceType THRIFT
ThriftSourcepublic static final SourceType JMS
JMSSourcepublic static final SourceType TAILDIR
TaildirSourcepublic static final SourceType NETCATUDP
NetcatUdpSourcepublic static SourceType[] values()
for (SourceType c : SourceType.values()) System.out.println(c);
public static SourceType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Deprecated public String getSourceClassName()
public String getClassName()
getClassName in interface ComponentWithClassNameCopyright © 2009-2022 Apache Software Foundation. All Rights Reserved.