public enum BuildResult extends Enum<BuildResult>
| Enum Constant and Description |
|---|
ABORTED |
FAILURE |
FIXED |
NOT_BUILT |
SUCCESS |
UNSTABLE |
| Modifier and Type | Method and Description |
|---|---|
static BuildResult |
fromBuild(hudson.model.AbstractBuild build) |
String |
getHumanResult() |
static BuildResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuildResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuildResult SUCCESS
public static final BuildResult FAILURE
public static final BuildResult UNSTABLE
public static final BuildResult ABORTED
public static final BuildResult NOT_BUILT
public static final BuildResult FIXED
public static BuildResult[] values()
for (BuildResult c : BuildResult.values()) System.out.println(c);
public static BuildResult 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 static BuildResult fromBuild(hudson.model.AbstractBuild build)
public String getHumanResult()
Copyright © 2004-2015. All Rights Reserved.