public enum BuildResult extends Enum<BuildResult>
Enum Constant and Description |
---|
ABORTED
This means a job was already running and has been aborted.
|
BUILDING |
CANCELLED
This will be the result of a job in cases where it has been cancelled
during the time in the queue.
|
FAILURE |
NOT_BUILT
This is returned if a job has never been built.
|
REBUILDING |
SUCCESS |
UNKNOWN
?
|
UNSTABLE |
Modifier and Type | Method and Description |
---|---|
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 FAILURE
public static final BuildResult UNSTABLE
public static final BuildResult REBUILDING
public static final BuildResult BUILDING
public static final BuildResult ABORTED
public static final BuildResult SUCCESS
public static final BuildResult UNKNOWN
public static final BuildResult NOT_BUILT
public static final BuildResult CANCELLED
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 nullCopyright © 2017 JBoss by Red Hat. All rights reserved.