Enum Constant and Description |
---|
PROCESS_END |
REPORTING |
THREAD_END |
Modifier and Type | Method and Description |
---|---|
static InfoType |
getInfoType(java.lang.String value)
Obtain the enum from the value.
|
static java.lang.String |
getName(java.lang.String value)
Obtain the name from the value.
|
java.lang.String |
getValue()
Get the enum's value.
|
static InfoType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InfoType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InfoType REPORTING
public static final InfoType THREAD_END
public static final InfoType PROCESS_END
public static InfoType[] values()
for (InfoType c : InfoType.values()) System.out.println(c);
public static InfoType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getValue()
public static java.lang.String getName(java.lang.String value)
value
- the value to match.null
.public static InfoType getInfoType(java.lang.String value)
value
- the value to match.null
.