public enum AlertState extends Enum<AlertState>
| Enum Constant and Description |
|---|
CRITICAL
Indicates there is a critical situation that needs to be addressed.
|
OK
Alert does not need to be distributed.
|
SKIPPED
Indicates that the state of the alert should be discarded, but the alert
timestamps should be updated so that it is not considered stale.
|
UNKNOWN
The state of the alert is not known.
|
WARNING
Alert indicates there may be an issue.
|
| Modifier and Type | Field and Description |
|---|---|
static Set<AlertState> |
RECALCULATE_AGGREGATE_ALERT_STATES |
| Modifier and Type | Method and Description |
|---|---|
int |
getIntValue() |
static AlertState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlertState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlertState OK
public static final AlertState WARNING
CRITICAL.public static final AlertState CRITICAL
public static final AlertState UNKNOWN
public static final AlertState SKIPPED
public static final Set<AlertState> RECALCULATE_AGGREGATE_ALERT_STATES
public static AlertState[] values()
for (AlertState c : AlertState.values()) System.out.println(c);
public static AlertState 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 int getIntValue()
Copyright © 2022 Apache Software Foundation. All rights reserved.