Package org.ovirt.engine.sdk4.types
Enum StorageDomainStatus
- java.lang.Object
-
- java.lang.Enum<StorageDomainStatus>
-
- org.ovirt.engine.sdk4.types.StorageDomainStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<StorageDomainStatus>
public enum StorageDomainStatus extends Enum<StorageDomainStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVATING
ACTIVE
DETACHING
INACTIVE
LOCKED
MAINTENANCE
MIXED
PREPARING_FOR_MAINTENANCE
UNATTACHED
UNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StorageDomainStatus
fromValue(String value)
String
value()
static StorageDomainStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static StorageDomainStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVATING
public static final StorageDomainStatus ACTIVATING
-
ACTIVE
public static final StorageDomainStatus ACTIVE
-
DETACHING
public static final StorageDomainStatus DETACHING
-
INACTIVE
public static final StorageDomainStatus INACTIVE
-
LOCKED
public static final StorageDomainStatus LOCKED
-
MAINTENANCE
public static final StorageDomainStatus MAINTENANCE
-
MIXED
public static final StorageDomainStatus MIXED
-
PREPARING_FOR_MAINTENANCE
public static final StorageDomainStatus PREPARING_FOR_MAINTENANCE
-
UNATTACHED
public static final StorageDomainStatus UNATTACHED
-
UNKNOWN
public static final StorageDomainStatus UNKNOWN
-
-
Method Detail
-
values
public static StorageDomainStatus[] 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 (StorageDomainStatus c : StorageDomainStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StorageDomainStatus 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 String value()
-
fromValue
public static StorageDomainStatus fromValue(String value)
-
-