Enum Outcome
- java.lang.Object
-
- java.lang.Enum<Outcome>
-
- step.repositories.azure.devops.rest.model.Outcome
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Aborted
Blocked
Error
Failed
Inconclusive
InProgress
None
NotApplicable
NotExecuted
NotImpacted
Passed
Paused
Timeout
Unspecified
Warning
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Outcome
aggregate(java.util.Set<Outcome> outcomes)
static Outcome
fromReportNodeStatus(step.core.artefacts.reports.ReportNodeStatus status)
State
toState()
static Outcome
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Outcome[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Unspecified
public static final Outcome Unspecified
-
None
public static final Outcome None
-
Passed
public static final Outcome Passed
-
Failed
public static final Outcome Failed
-
Inconclusive
public static final Outcome Inconclusive
-
Timeout
public static final Outcome Timeout
-
Aborted
public static final Outcome Aborted
-
Blocked
public static final Outcome Blocked
-
NotExecuted
public static final Outcome NotExecuted
-
Warning
public static final Outcome Warning
-
Error
public static final Outcome Error
-
NotApplicable
public static final Outcome NotApplicable
-
Paused
public static final Outcome Paused
-
InProgress
public static final Outcome InProgress
-
NotImpacted
public static final Outcome NotImpacted
-
-
Method Detail
-
values
public static Outcome[] 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 (Outcome c : Outcome.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Outcome valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toState
public State toState()
-
fromReportNodeStatus
public static Outcome fromReportNodeStatus(step.core.artefacts.reports.ReportNodeStatus status)
-
-