Package org.ovirt.engine.sdk4.types
Enum StepEnum
- java.lang.Object
-
- java.lang.Enum<StepEnum>
-
- org.ovirt.engine.sdk4.types.StepEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<StepEnum>
public enum StepEnum extends Enum<StepEnum>
Type representing a step type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXECUTING
The executing step type.FINALIZING
The finalizing step type.REBALANCING_VOLUME
The `rebalancing volume` step type.REMOVING_BRICKS
The `removing bricks` step type.UNKNOWN
The unknown step type.VALIDATING
The validation step type.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StepEnum
fromValue(String value)
String
value()
static StepEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static StepEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXECUTING
public static final StepEnum EXECUTING
The executing step type. Used to track the main execution block of the job. Usually it will be a parent step of several sub-steps which describe portions of the execution step.
-
FINALIZING
public static final StepEnum FINALIZING
The finalizing step type. Describes the post-execution steps requires to complete the `job`.
-
REBALANCING_VOLUME
public static final StepEnum REBALANCING_VOLUME
The `rebalancing volume` step type. Describes a step type which is part of `Gluster` flow.
-
REMOVING_BRICKS
public static final StepEnum REMOVING_BRICKS
The `removing bricks` step type. Describes a step type which is part of `Gluster` flow.
-
UNKNOWN
public static final StepEnum UNKNOWN
The unknown step type. Describes a step type which its origin is unknown.
-
VALIDATING
public static final StepEnum VALIDATING
The validation step type. Used to verify the correctness of parameters and the validity of the parameters prior to the execution.
-
-
Method Detail
-
values
public static StepEnum[] 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 (StepEnum c : StepEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StepEnum 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()
-
-