Package org.ovirt.engine.sdk4.types
Enum EntityExternalStatus
- java.lang.Object
-
- java.lang.Enum<EntityExternalStatus>
-
- org.ovirt.engine.sdk4.types.EntityExternalStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<EntityExternalStatus>
public enum EntityExternalStatus extends Enum<EntityExternalStatus>
Type representing an external entity status.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR
The external entity status is erroneous.FAILURE
The external entity has an issue that causes failures.INFO
There external entity status is okay but with some information that might be relevant.OK
The external entity status is okay.WARNING
The external entity status is okay but with an issue that might require attention.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EntityExternalStatus
fromValue(String value)
String
value()
static EntityExternalStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static EntityExternalStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERROR
public static final EntityExternalStatus ERROR
The external entity status is erroneous. This might require a moderate attention.
-
FAILURE
public static final EntityExternalStatus FAILURE
The external entity has an issue that causes failures. This might require immediate attention.
-
INFO
public static final EntityExternalStatus INFO
There external entity status is okay but with some information that might be relevant.
-
OK
public static final EntityExternalStatus OK
The external entity status is okay.
-
WARNING
public static final EntityExternalStatus WARNING
The external entity status is okay but with an issue that might require attention.
-
-
Method Detail
-
values
public static EntityExternalStatus[] 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 (EntityExternalStatus c : EntityExternalStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntityExternalStatus 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 EntityExternalStatus fromValue(String value)
-
-