public static enum Alert.AlertState extends Enum<Alert.AlertState>
| Enum Constant and Description |
|---|
ANY |
RESOLVED |
UNRESOLVED |
| Modifier and Type | Method and Description |
|---|---|
static Alert.AlertState |
fromString(String state) |
static Alert.AlertState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Alert.AlertState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Alert.AlertState ANY
public static final Alert.AlertState RESOLVED
public static final Alert.AlertState UNRESOLVED
public static Alert.AlertState[] values()
for (Alert.AlertState c : Alert.AlertState.values()) System.out.println(c);
public static Alert.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 static Alert.AlertState fromString(String state)
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.