Class QueueItemData
java.lang.Object
org.jenkinsci.plugins.ParameterizedRemoteTrigger.remoteJob.QueueItemData
Contains information about the remote job while is waiting on the queue.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getWhy()
boolean
boolean
boolean
boolean
boolean
isLeft()
boolean
boolean
void
update
(BuildContext context, net.sf.json.JSONObject queueResponse) Updates the queue item data with a queue response.
-
Constructor Details
-
QueueItemData
- Throws:
MalformedURLException
-
-
Method Details
-
isWaiting
public boolean isWaiting() -
isBlocked
public boolean isBlocked() -
isBuildable
public boolean isBuildable() -
isPending
public boolean isPending() -
isLeft
public boolean isLeft() -
isExecuted
public boolean isExecuted() -
isCancelled
public boolean isCancelled() -
getStatus
-
getWhy
-
getBuildNumber
@NonNull public int getBuildNumber() -
getBuildURL
-
update
public void update(@NonNull BuildContext context, @NonNull net.sf.json.JSONObject queueResponse) throws MalformedURLException Updates the queue item data with a queue response.- Parameters:
context
- the context of this Builder/BuildStep.queueResponse
- the queue response- Throws:
MalformedURLException
- if there is an error creating the build URL.
-