public static enum JenkinsClient.BuildState extends Enum<JenkinsClient.BuildState>
| Enum Constant and Description |
|---|
ABORTED
Build has been aborted while it was running.
|
CANCELLED
Build has been cancelled while it was queued.
|
FAILED
Build is completed and is FAILED.
|
QUEUED
Build is queued and not running yet.
|
RUNNING
Build is running.
|
SUCCESS
Build completed with SUCCESS.
|
UNSTABLE
Build is completed and is UNSTABLE.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCompleted() |
boolean |
isOutOfQueue() |
static JenkinsClient.BuildState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JenkinsClient.BuildState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JenkinsClient.BuildState QUEUED
public static final JenkinsClient.BuildState CANCELLED
This is similar to ABORTED, except that the build was never RUNNING.
public static final JenkinsClient.BuildState RUNNING
public static final JenkinsClient.BuildState ABORTED
This is similar to CANCELLED, except that the build was RUNNING.
public static final JenkinsClient.BuildState FAILED
public static final JenkinsClient.BuildState UNSTABLE
public static final JenkinsClient.BuildState SUCCESS
public static JenkinsClient.BuildState[] values()
for (JenkinsClient.BuildState c : JenkinsClient.BuildState.values()) System.out.println(c);
public static JenkinsClient.BuildState 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 boolean isOutOfQueue()
public boolean isCompleted()
Copyright © 2015–2016 AZYVA INC.. All rights reserved.