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