public enum StorageState extends Enum<StorageState>
Enum Constant and Description |
---|
BACKUP |
DEGRADED |
OFFLINE |
ONLINE |
RESIZE |
SNAPSHOT |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static StorageState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StorageState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StorageState ONLINE
public static final StorageState OFFLINE
public static final StorageState BACKUP
public static final StorageState SNAPSHOT
public static final StorageState RESIZE
public static final StorageState DEGRADED
public static StorageState[] values()
for (StorageState c : StorageState.values()) System.out.println(c);
public static StorageState 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 String toString()
toString
in class Enum<StorageState>
Copyright © 2016. All Rights Reserved.