public enum VDiskStatus extends Enum<VDiskStatus>
Enum Constant and Description |
---|
ATTACHING |
BACKUP_ING |
DEPLOYING |
DETACHING |
ERROR |
NORMAL |
RESTORING |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static VDiskStatus |
fromValue(String status) |
String |
toString() |
String |
value() |
static VDiskStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VDiskStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VDiskStatus NORMAL
public static final VDiskStatus BACKUP_ING
public static final VDiskStatus DEPLOYING
public static final VDiskStatus DETACHING
public static final VDiskStatus ATTACHING
public static final VDiskStatus RESTORING
public static final VDiskStatus ERROR
public static final VDiskStatus UNRECOGNIZED
public static VDiskStatus[] values()
for (VDiskStatus c : VDiskStatus.values()) System.out.println(c);
public static VDiskStatus 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 value()
public String toString()
toString
in class Enum<VDiskStatus>
public static VDiskStatus fromValue(String status)
Copyright © 2009-2013 jclouds. All Rights Reserved.