public class QueueItemData extends Object
Constructor and Description |
---|
QueueItemData() |
Modifier and Type | Method and Description |
---|---|
int |
getBuildNumber() |
URL |
getBuildURL() |
QueueItemStatus |
getStatus() |
String |
getWhy() |
boolean |
isBlocked() |
boolean |
isBuildable() |
boolean |
isCancelled() |
boolean |
isExecuted() |
boolean |
isLeft() |
boolean |
isPending() |
boolean |
isWaiting() |
void |
update(BuildContext context,
net.sf.json.JSONObject queueResponse)
Updates the queue item data with a queue response.
|
public QueueItemData() throws MalformedURLException
MalformedURLException
public boolean isWaiting()
public boolean isBlocked()
public boolean isBuildable()
public boolean isPending()
public boolean isLeft()
public boolean isExecuted()
public boolean isCancelled()
@Nonnull public QueueItemStatus getStatus()
@CheckForNull public String getWhy()
@Nonnull public int getBuildNumber()
@CheckForNull public URL getBuildURL()
public void update(@Nonnull BuildContext context, @Nonnull net.sf.json.JSONObject queueResponse) throws MalformedURLException
context
- the context of this Builder/BuildStep.queueResponse
- the queue responseMalformedURLException
- if there is an error creating the build URL.Copyright © 2016–2023. All rights reserved.