public static enum ReporterConfig.Type extends Enum<ReporterConfig.Type>
Enum Constant and Description |
---|
FILE
File Reporter.
|
JMX
JMX Reporter.
|
TOPIC
Topic Reporter.
|
Modifier and Type | Method and Description |
---|---|
static ReporterConfig.Type |
fromString(String symbol)
Returns type enum from string representation.
|
static ReporterConfig.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReporterConfig.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReporterConfig.Type TOPIC
public static final ReporterConfig.Type JMX
public static final ReporterConfig.Type FILE
public static ReporterConfig.Type[] values()
for (ReporterConfig.Type c : ReporterConfig.Type.values()) System.out.println(c);
public static ReporterConfig.Type 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 static ReporterConfig.Type fromString(String symbol)
symbol
- type name in either lower or upper caseCopyright © 2016 Push Technology Ltd. All Rights Reserved.