Enum Migration.Status
- java.lang.Object
-
- java.lang.Enum<Migration.Status>
-
- org.openstack4j.model.compute.ext.Migration.Status
-
- All Implemented Interfaces:
Serializable,Comparable<Migration.Status>
- Enclosing interface:
- Migration
public static enum Migration.Status extends Enum<Migration.Status>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Migration.StatusforValue(String value)static Migration.StatusvalueOf(String name)Returns the enum constant of this type with the specified name.static Migration.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MIGRATING
public static final Migration.Status MIGRATING
-
ERROR
public static final Migration.Status ERROR
-
DONE
public static final Migration.Status DONE
-
FINISHED
public static final Migration.Status FINISHED
-
CONFIRMED
public static final Migration.Status CONFIRMED
-
-
Method Detail
-
values
public static Migration.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 (Migration.Status c : Migration.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 Migration.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
-
forValue
public static Migration.Status forValue(String value)
-
-