Package org.openstack4j.model.manila
Enum Share.TaskState
- java.lang.Object
-
- java.lang.Enum<Share.TaskState>
-
- org.openstack4j.model.manila.Share.TaskState
-
- All Implemented Interfaces:
Serializable,Comparable<Share.TaskState>
- Enclosing interface:
- Share
public static enum Share.TaskState extends Enum<Share.TaskState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MIGRATINGMIGRATION_COMPLETINGMIGRATION_ERRORMIGRATION_STARTINGMIGRATION_SUCCESSNULL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringvalue()static Share.TaskStatevalue(String v)static Share.TaskStatevalueOf(String name)Returns the enum constant of this type with the specified name.static Share.TaskState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULL
public static final Share.TaskState NULL
-
MIGRATION_STARTING
public static final Share.TaskState MIGRATION_STARTING
-
MIGRATION_ERROR
public static final Share.TaskState MIGRATION_ERROR
-
MIGRATION_SUCCESS
public static final Share.TaskState MIGRATION_SUCCESS
-
MIGRATION_COMPLETING
public static final Share.TaskState MIGRATION_COMPLETING
-
MIGRATING
public static final Share.TaskState MIGRATING
-
-
Method Detail
-
values
public static Share.TaskState[] 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 (Share.TaskState c : Share.TaskState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Share.TaskState 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 Share.TaskState value(String v)
-
value
public String value()
-
-