public enum MonitorState extends java.lang.Enum<MonitorState>
| Enum Constant and Description |
|---|
ERROR
The monitor has stopped due to an unexpected error.
|
RUNNING
The monitor is running.
|
STOPPED
The monitor has stopped running in an expected manner.
|
| Modifier and Type | Method and Description |
|---|---|
static MonitorState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MonitorState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MonitorState RUNNING
public static final MonitorState STOPPED
public static final MonitorState ERROR
public static MonitorState[] values()
for (MonitorState c : MonitorState.values()) System.out.println(c);
public static MonitorState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null