Package org.ovirt.engine.sdk4.types
Enum StepStatus
- java.lang.Object
-
- java.lang.Enum<StepStatus>
-
- org.ovirt.engine.sdk4.types.StepStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<StepStatus>
public enum StepStatus extends Enum<StepStatus>
Represents the status of the step.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StepStatus
fromValue(String value)
String
value()
static StepStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static StepStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABORTED
public static final StepStatus ABORTED
The aborted step status. This status is applicable for an external step that was forcibly aborted.
-
FAILED
public static final StepStatus FAILED
The failed step status.
-
FINISHED
public static final StepStatus FINISHED
The finished step status. This status describes a completed step execution.
-
STARTED
public static final StepStatus STARTED
The started step status. This status represents a step which is currently being executed.
-
UNKNOWN
public static final StepStatus UNKNOWN
The unknown step status. This status represents steps which their resolution is not known, i.e. steps that were executed before the system was unexpectedly restarted.
-
-
Method Detail
-
values
public static StepStatus[] 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 (StepStatus c : StepStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StepStatus 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 StepStatus fromValue(String value)
-
-