public static enum ShareInstance.Status extends Enum<ShareInstance.Status>
Enum Constant and Description |
---|
AVAILABLE |
CREATING |
DELETING |
ERROR |
ERROR_DELETING |
Modifier and Type | Method and Description |
---|---|
String |
value() |
static ShareInstance.Status |
value(String v) |
static ShareInstance.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShareInstance.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShareInstance.Status AVAILABLE
public static final ShareInstance.Status ERROR
public static final ShareInstance.Status CREATING
public static final ShareInstance.Status DELETING
public static final ShareInstance.Status ERROR_DELETING
public static ShareInstance.Status[] values()
for (ShareInstance.Status c : ShareInstance.Status.values()) System.out.println(c);
public static ShareInstance.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 static ShareInstance.Status value(String v)
public String value()
Copyright © 2017. All rights reserved.