Package org.openstack4j.model.manila
Enum ShareSnapshot.Status
- java.lang.Object
-
- java.lang.Enum<ShareSnapshot.Status>
-
- org.openstack4j.model.manila.ShareSnapshot.Status
-
- All Implemented Interfaces:
Serializable,Comparable<ShareSnapshot.Status>
- Enclosing interface:
- ShareSnapshot
public static enum ShareSnapshot.Status extends Enum<ShareSnapshot.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVAILABLECREATINGDELETINGERRORERROR_DELETING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringvalue()static ShareSnapshot.Statusvalue(String v)static ShareSnapshot.StatusvalueOf(String name)Returns the enum constant of this type with the specified name.static ShareSnapshot.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AVAILABLE
public static final ShareSnapshot.Status AVAILABLE
-
ERROR
public static final ShareSnapshot.Status ERROR
-
CREATING
public static final ShareSnapshot.Status CREATING
-
DELETING
public static final ShareSnapshot.Status DELETING
-
ERROR_DELETING
public static final ShareSnapshot.Status ERROR_DELETING
-
-
Method Detail
-
values
public static ShareSnapshot.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ShareSnapshot.Status c : ShareSnapshot.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ShareSnapshot.Status valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public static ShareSnapshot.Status value(String v)
-
value
public String value()
-
-