public static enum BuildTriggerStatus.State extends Enum<BuildTriggerStatus.State>
Enum Constant and Description |
---|
CANCELLED_IN_QUEUE
The build is cancelled in Jenkins before it started being executed.
|
STARTED_BUILDING
Build is out of the queue and it is currently being executed.
|
STUCK_IN_QUEUE
The build is stuck on Jenkins queue.
|
TIMED_OUT
The max time to wait for the build get executed has passed.
|
TRIGGERED
The build is just added to the Jenkins queue.
|
Modifier and Type | Method and Description |
---|---|
static BuildTriggerStatus.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BuildTriggerStatus.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuildTriggerStatus.State STARTED_BUILDING
public static final BuildTriggerStatus.State TIMED_OUT
public static final BuildTriggerStatus.State CANCELLED_IN_QUEUE
public static final BuildTriggerStatus.State STUCK_IN_QUEUE
public static final BuildTriggerStatus.State TRIGGERED
public static BuildTriggerStatus.State[] values()
for (BuildTriggerStatus.State c : BuildTriggerStatus.State.values()) System.out.println(c);
public static BuildTriggerStatus.State 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.