Enum RunState
- java.lang.Object
-
- java.lang.Enum<RunState>
-
- com.synopsys.defensics.apiserver.model.RunState
-
- All Implemented Interfaces:
Serializable
,Comparable<RunState>
public enum RunState extends Enum<RunState>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RunState
valueOf(String name)
Returns the enum constant of this type with the specified name.static RunState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IDLE
public static final RunState IDLE
-
LOADING
public static final RunState LOADING
-
LOADED
public static final RunState LOADED
-
STARTING
public static final RunState STARTING
-
RUNNING
public static final RunState RUNNING
-
PAUSING
public static final RunState PAUSING
-
PAUSED
public static final RunState PAUSED
-
STOPPING
public static final RunState STOPPING
-
COMPLETED
public static final RunState COMPLETED
-
ERROR
public static final RunState ERROR
-
FATAL
public static final RunState FATAL
-
UNLOADING
public static final RunState UNLOADING
-
UNKNOWN_VALUE
public static final RunState UNKNOWN_VALUE
-
-
Method Detail
-
values
public static RunState[] 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 (RunState c : RunState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RunState 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
-
-