public enum SourceType extends Enum<SourceType>
Enum Constant and Description |
---|
AVRO
Avro source.
|
EXEC
Exec source.
|
HTTP
HTTP Source
|
JMS
JMS Source
|
MULTIPORT_SYSLOGTCP
MultiportSyslogTCPSource
|
NETCAT
Netcat 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
|
THRIFT
Thrift Source
|
Modifier and Type | Method and Description |
---|---|
String |
getSourceClassName() |
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
SequenceGeneratorSource
public static final SourceType NETCAT
NetcatSource
public static final SourceType EXEC
ExecSource
public static final SourceType AVRO
AvroSource
public static final SourceType SYSLOGTCP
SyslogTcpSource
public static final SourceType MULTIPORT_SYSLOGTCP
MultiportSyslogTCPSource
public static final SourceType SYSLOGUDP
SyslogUDPSource
public static final SourceType SPOOLDIR
SpoolDirectorySource
public static final SourceType HTTP
HTTPSource
public static final SourceType THRIFT
ThriftSource
public static final SourceType JMS
JMSSource
public 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 nullpublic String getSourceClassName()
Copyright © 2009-2014 Apache Software Foundation. All Rights Reserved.