public enum AnomalyType extends Enum<AnomalyType>
GOAL_VIOLATION
: Violation of anomaly detection goals.BROKER_FAILURE
: Fail-stop failure of brokers.Enum Constant and Description |
---|
BROKER_FAILURE |
GOAL_VIOLATION |
Modifier and Type | Method and Description |
---|---|
static List<AnomalyType> |
cachedValues()
Use this instead of values() because values() creates a new array each time.
|
static AnomalyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnomalyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnomalyType GOAL_VIOLATION
public static final AnomalyType BROKER_FAILURE
public static AnomalyType[] values()
for (AnomalyType c : AnomalyType.values()) System.out.println(c);
public static AnomalyType 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 List<AnomalyType> cachedValues()