public enum StatTriggerFlag extends Enum<StatTriggerFlag>
Enum Constant and Description |
---|
ONLY_FIRST
Trigger on only first reach threshold.
|
PERIODIC
Trigger for all multiples of thresholds.
|
Modifier and Type | Method and Description |
---|---|
static StatTriggerFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatTriggerFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatTriggerFlag PERIODIC
public static final StatTriggerFlag ONLY_FIRST
public static StatTriggerFlag[] values()
for (StatTriggerFlag c : StatTriggerFlag.values()) System.out.println(c);
public static StatTriggerFlag 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