public static enum AlertEvent.Severity extends Enum<AlertEvent.Severity>
Enum Constant and Description |
---|
ANOMALY |
COMPONENT_FAILURE |
SERVICE_FAILURE |
Modifier and Type | Field and Description |
---|---|
static AlertEvent.Severity |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
static AlertEvent.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlertEvent.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlertEvent.Severity ANOMALY
public static final AlertEvent.Severity COMPONENT_FAILURE
public static final AlertEvent.Severity SERVICE_FAILURE
public static final AlertEvent.Severity DEFAULT
public static AlertEvent.Severity[] values()
for (AlertEvent.Severity c : AlertEvent.Severity.values()) System.out.println(c);
public static AlertEvent.Severity 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 nullCopyright © 2011–2018. All rights reserved.