Enum StatusExt
- java.lang.Object
-
- java.lang.Enum<StatusExt>
-
- com.cloudbees.workflow.rest.external.StatusExt
-
- All Implemented Interfaces:
Serializable
,Comparable<StatusExt>
public enum StatusExt extends Enum<StatusExt>
- Author:
- tom.fennelly@gmail.com
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORTED
FAILED
IN_PROGRESS
NOT_EXECUTED
PAUSED_PENDING_INPUT
SUCCESS
UNSTABLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StatusExt
fromGenericStatus(org.jenkinsci.plugins.workflow.pipelinegraphanalysis.GenericStatus st)
static StatusExt
valueOf(Result r)
Returns the enum constant of this type with the specified name.static StatusExt
valueOf(String name)
Returns the enum constant of this type with the specified name.static StatusExt
valueOf(Throwable t)
Returns the enum constant of this type with the specified name.static StatusExt
valueOf(org.jenkinsci.plugins.workflow.actions.ErrorAction errorAction)
Returns the enum constant of this type with the specified name.static StatusExt[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_EXECUTED
public static final StatusExt NOT_EXECUTED
-
ABORTED
public static final StatusExt ABORTED
-
SUCCESS
public static final StatusExt SUCCESS
-
IN_PROGRESS
public static final StatusExt IN_PROGRESS
-
PAUSED_PENDING_INPUT
public static final StatusExt PAUSED_PENDING_INPUT
-
FAILED
public static final StatusExt FAILED
-
UNSTABLE
public static final StatusExt UNSTABLE
-
-
Method Detail
-
values
public static StatusExt[] 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 (StatusExt c : StatusExt.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StatusExt 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
-
valueOf
public static StatusExt valueOf(org.jenkinsci.plugins.workflow.actions.ErrorAction errorAction)
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:
errorAction
- 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
-
valueOf
public static StatusExt valueOf(Throwable t)
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:
t
- 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
-
valueOf
public static StatusExt valueOf(Result r)
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:
r
- 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
-
fromGenericStatus
public static StatusExt fromGenericStatus(@CheckForNull org.jenkinsci.plugins.workflow.pipelinegraphanalysis.GenericStatus st)
-
-