public class JobWithDetails extends Job
| Constructor and Description |
|---|
JobWithDetails() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<Build> |
getAllBuilds()
This method will give you back all builds which exists independent of the
number.
|
List<Build> |
getAllBuilds(Range range)
{M,N}: From the M-th element (inclusive) to the N-th element
(exclusive).
{M,}: From the M-th element (inclusive) to the end.
{,N}: From the first element (inclusive) to the N-th element
(exclusive).
|
Build |
getBuildByNumber(int buildNumber) |
List<Build> |
getBuilds()
This method will give you back the builds of a particular job.
Note: Jenkins limits the number of results to a maximum of 100 builds which you will get back.. |
String |
getDescription() |
String |
getDisplayName() |
List<Job> |
getDownstreamProjects() |
Build |
getFirstBuild() |
Build |
getLastBuild() |
Build |
getLastCompletedBuild() |
Build |
getLastFailedBuild() |
Build |
getLastStableBuild() |
Build |
getLastSuccessfulBuild() |
Build |
getLastUnstableBuild() |
Build |
getLastUnsuccessfulBuild() |
int |
getNextBuildNumber() |
QueueItem |
getQueueItem() |
List<Job> |
getUpstreamProjects() |
boolean |
hasDescription() |
int |
hashCode() |
boolean |
isBuildable() |
boolean |
isInQueue() |
public String getDescription()
public boolean hasDescription()
public String getDisplayName()
public boolean isBuildable()
public boolean isInQueue()
public List<Build> getBuilds()
getAllBuilds().Build. In case of no builds have been
executed yet return Collections.emptyList().public List<Build> getAllBuilds() throws IOException
getBuilds(). This method limits it to particular information
which can be later used to get supplemental information about a
particular build Build.details() to reduce the amount of data
which needed to be transfered.Build. In case of no builds have been
executed yet return Collections.emptyList().IOException - In case of failure.public List<Build> getAllBuilds(Range range) throws IOException
getAllBuilds().range - RangeBuild. In case of no builds have been
executed yet return Collections.emptyList().IOException - in case of an error.public Build getFirstBuild()
Build.BUILD_HAS_NEVER_RAN is this has never
been executed.public Build getLastBuild()
public Build getLastCompletedBuild()
public Build getLastFailedBuild()
public Build getLastStableBuild()
public Build getLastSuccessfulBuild()
public Build getLastUnstableBuild()
public Build getLastUnsuccessfulBuild()
public int getNextBuildNumber()
public List<Job> getDownstreamProjects()
Collections.emptyList().public List<Job> getUpstreamProjects()
Collections.emptyList().public QueueItem getQueueItem()
public Build getBuildByNumber(int buildNumber)
Copyright © 2016. All rights reserved.