public static enum StorageMonitor.State extends Enum<StorageMonitor.State>
Enum Constant and Description |
---|
ALERTED |
INITIAL |
NORMAL |
UNAVAILABLE |
UNSTABLE |
WARNED |
Modifier and Type | Method and Description |
---|---|
static StorageMonitor.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StorageMonitor.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StorageMonitor.State UNAVAILABLE
public static final StorageMonitor.State UNSTABLE
public static final StorageMonitor.State INITIAL
public static final StorageMonitor.State NORMAL
public static final StorageMonitor.State WARNED
public static final StorageMonitor.State ALERTED
public static StorageMonitor.State[] values()
for (StorageMonitor.State c : StorageMonitor.State.values()) System.out.println(c);
public static StorageMonitor.State 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 © 2003-2019 Serge Brisson. All Rights Reserved.