Package io.jenkins.blueocean.rest.model
Class BlueQueueItem
java.lang.Object
io.jenkins.blueocean.rest.model.Resource
io.jenkins.blueocean.rest.model.BlueQueueItem
- All Implemented Interfaces:
- Reachable
This class models an item waiting in the queue for an executor so that
 it can run.
- Author:
- Ivan Meredith
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
QUEUED_TIME- See Also:
 
- 
CAUSE- See Also:
 
- 
EXPECTED_BUILD_NUMBER- See Also:
 
- 
PIPELINE- See Also:
 
- 
ORGANIZATION- See Also:
 
- 
ID- See Also:
 
 
- 
- 
Constructor Details- 
BlueQueueItempublic BlueQueueItem()
 
- 
- 
Method Details- 
getId- Returns:
- Id of the item in the queue. Much be unique in the queue of a pipeline
 
- 
getOrganization
- 
getPipeline- Returns:
- pipeline this queued item belongs too
 
- 
getQueuedTime- Returns:
- Time the item entered the queue.
 
- 
getQueuedTimeString
- 
getExpectedBuildNumber@Exported(name="expectedBuildNumber") public abstract int getExpectedBuildNumber()- Returns:
- The expected build number of the build. This may change.
 
- 
delete@WebMethod(name="") @DELETE public abstract void delete()Remove a queued item
- 
getCauses- Returns:
- causes for this item to be queued
 
- 
getCauseOfBlockage- Returns:
- Gives reason of blockage if run is in QUEUED state
 
- 
toRun- Returns:
- a run object representing this queued item
 
 
-