Package io.jenkins.blueocean.rest.model
Enum BlueRun.BlueRunState
- java.lang.Object
-
- java.lang.Enum<BlueRun.BlueRunState>
-
- io.jenkins.blueocean.rest.model.BlueRun.BlueRunState
-
- All Implemented Interfaces:
Serializable
,Comparable<BlueRun.BlueRunState>
- Enclosing class:
- BlueRun
public static enum BlueRun.BlueRunState extends Enum<BlueRun.BlueRunState>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BlueRun.BlueRunState
valueOf(String name)
Returns the enum constant of this type with the specified name.static BlueRun.BlueRunState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUEUED
public static final BlueRun.BlueRunState QUEUED
-
RUNNING
public static final BlueRun.BlueRunState RUNNING
-
PAUSED
public static final BlueRun.BlueRunState PAUSED
-
SKIPPED
public static final BlueRun.BlueRunState SKIPPED
-
NOT_BUILT
public static final BlueRun.BlueRunState NOT_BUILT
-
FINISHED
public static final BlueRun.BlueRunState FINISHED
-
-
Method Detail
-
values
public static BlueRun.BlueRunState[] 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 (BlueRun.BlueRunState c : BlueRun.BlueRunState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BlueRun.BlueRunState 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
-
-