public static enum RuleUtils.DAMPENING_TYPE extends Enum<RuleUtils.DAMPENING_TYPE>
Enum Constant and Description |
---|
ACTIVE_TIME |
CONSECUTIVE |
LAST_N_EVALUATIONS |
NONE |
Modifier and Type | Method and Description |
---|---|
static RuleUtils.DAMPENING_TYPE |
fromString(String text) |
static RuleUtils.DAMPENING_TYPE |
get(int id) |
String |
getText() |
static RuleUtils.DAMPENING_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuleUtils.DAMPENING_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuleUtils.DAMPENING_TYPE NONE
public static final RuleUtils.DAMPENING_TYPE CONSECUTIVE
public static final RuleUtils.DAMPENING_TYPE LAST_N_EVALUATIONS
public static final RuleUtils.DAMPENING_TYPE ACTIVE_TIME
public static RuleUtils.DAMPENING_TYPE[] values()
for (RuleUtils.DAMPENING_TYPE c : RuleUtils.DAMPENING_TYPE.values()) System.out.println(c);
public static RuleUtils.DAMPENING_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 RuleUtils.DAMPENING_TYPE get(int id)
public String getText()
public static RuleUtils.DAMPENING_TYPE fromString(String text)
Copyright © 2015–2019. All rights reserved.