public enum Status extends Enum<Status>
Enum Constant and Description |
---|
CANCELED |
ERROR |
SKIPPED |
SUCCESS |
UNKNOWN |
UNSTABLE |
Modifier and Type | Method and Description |
---|---|
static Status |
combine(Status a,
Status b)
Combines two statuses, returning the worst one
(based on
Result.combine(hudson.model.Result, hudson.model.Result) ). |
static Status |
fromJenkinsResult(String status) |
String |
toTag() |
static Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Status UNKNOWN
public static final Status SUCCESS
public static final Status UNSTABLE
public static final Status ERROR
public static final Status SKIPPED
public static final Status CANCELED
public static Status[] values()
for (Status c : Status.values()) System.out.println(c);
public static Status valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toTag()
public static Status combine(Status a, Status b)
Result.combine(hudson.model.Result, hudson.model.Result)
).Copyright © 2016–2024. All rights reserved.