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
source.SequenceGeneratorSourcepublic static final SourceType NETCAT
source.NetcatSourcepublic static final SourceType EXEC
source.ExecSourcepublic static final SourceType AVRO
source.AvroSourcepublic static final SourceType SYSLOGTCP
source.SyslogTcpSourcepublic static final SourceType MULTIPORT_SYSLOGTCP
source.MultiportSyslogTCPSourcepublic static final SourceType SYSLOGUDP
source.SyslogUDPSourcepublic static final SourceType SPOOLDIR
source.SpoolDirectorySourcepublic static final SourceType HTTP
source.http.HTTPSourcepublic static final SourceType THRIFT
source.ThriftSourcepublic static final SourceType JMS
source.jms.JMSSourcepublic static final SourceType TAILDIR
source.taildir.TaildirSourcepublic static final SourceType NETCATUDP
source.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.