Enum Outcome
- java.lang.Object
-
- java.lang.Enum<Outcome>
-
- step.repositories.azure.devops.rest.model.Outcome
-
- All Implemented Interfaces:
Serializable
,Comparable<Outcome>
public enum Outcome extends Enum<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(Set<Outcome> outcomes)
static Outcome
fromReportNodeStatus(step.core.artefacts.reports.ReportNodeStatus status)
State
toState()
static Outcome
valueOf(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
-
Error
public static final Outcome Error
-
Failed
public static final Outcome Failed
-
Aborted
public static final Outcome Aborted
-
Blocked
public static final Outcome Blocked
-
Timeout
public static final Outcome Timeout
-
Warning
public static final Outcome Warning
-
Inconclusive
public static final Outcome Inconclusive
-
NotExecuted
public static final Outcome NotExecuted
-
NotApplicable
public static final Outcome NotApplicable
-
NotImpacted
public static final Outcome NotImpacted
-
Passed
public static final Outcome Passed
-
Paused
public static final Outcome Paused
-
InProgress
public static final Outcome InProgress
-
Unspecified
public static final Outcome Unspecified
-
None
public static final Outcome None
-
-
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(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
-
toState
public State toState()
-
fromReportNodeStatus
public static Outcome fromReportNodeStatus(step.core.artefacts.reports.ReportNodeStatus status)
-
-