Package org.ovirt.engine.sdk4.types
Enum ExternalStatus
- java.lang.Object
-
- java.lang.Enum<ExternalStatus>
-
- org.ovirt.engine.sdk4.types.ExternalStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<ExternalStatus>
public enum ExternalStatus extends Enum<ExternalStatus>
Represents an external status. This status is currently used for <> and < >, and allows an external system to update status of objects it is aware of.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExternalStatus
fromValue(String value)
String
value()
static ExternalStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExternalStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERROR
public static final ExternalStatus ERROR
Error status. There is some kind of error in the relevant object.
-
FAILURE
public static final ExternalStatus FAILURE
Failure status. The relevant object is failing.
-
INFO
public static final ExternalStatus INFO
Info status. The relevant object is in OK status, but there is an information available that might be relevant for the administrator.
-
OK
public static final ExternalStatus OK
OK status. The relevant object is working well.
-
WARNING
public static final ExternalStatus WARNING
Warning status. The relevant object is working well, but there is some warning that might be relevant for the administrator.
-
-
Method Detail
-
values
public static ExternalStatus[] 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 (ExternalStatus c : ExternalStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExternalStatus 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 ExternalStatus fromValue(String value)
-
-