Enum Volume.MigrationStatus
- java.lang.Object
-
- java.lang.Enum<Volume.MigrationStatus>
-
- org.openstack4j.model.storage.block.Volume.MigrationStatus
-
- All Implemented Interfaces:
Serializable,Comparable<Volume.MigrationStatus>
- Enclosing interface:
- Volume
public static enum Volume.MigrationStatus extends Enum<Volume.MigrationStatus>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Volume.MigrationStatusfromValue(String migrationStatus)StringtoString()Stringvalue()static Volume.MigrationStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static Volume.MigrationStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MIGRATING
public static final Volume.MigrationStatus MIGRATING
-
ERROR
public static final Volume.MigrationStatus ERROR
-
SUCCESS
public static final Volume.MigrationStatus SUCCESS
-
COMPLETING
public static final Volume.MigrationStatus COMPLETING
-
NONE
public static final Volume.MigrationStatus NONE
-
STARTING
public static final Volume.MigrationStatus STARTING
-
-
Method Detail
-
values
public static Volume.MigrationStatus[] 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 (Volume.MigrationStatus c : Volume.MigrationStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Volume.MigrationStatus 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
-
fromValue
public static Volume.MigrationStatus fromValue(String migrationStatus)
-
value
public String value()
-
toString
public String toString()
- Overrides:
toStringin classEnum<Volume.MigrationStatus>
-
-