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