public enum FireFilterType extends java.lang.Enum<FireFilterType>
Enum Constant and Description |
---|
NUMBER_OF_EVENTS |
PERCENTAGE_OF_EVENTS |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
humanReadable |
Modifier and Type | Method and Description |
---|---|
static FireFilterType |
fromName(java.lang.String name)
Create a FireFilterType from a string name.
|
java.lang.String |
toString()
Get the human-readable string name for this FireFilterType.
|
static FireFilterType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FireFilterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FireFilterType NUMBER_OF_EVENTS
public static final FireFilterType PERCENTAGE_OF_EVENTS
public static FireFilterType[] values()
for (FireFilterType c : FireFilterType.values()) System.out.println(c);
public static FireFilterType 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 toString()
toString
in class java.lang.Enum<FireFilterType>
public static FireFilterType fromName(java.lang.String name)
name
-