Class QueueItemImpl
java.lang.Object
io.jenkins.blueocean.rest.model.Resource
io.jenkins.blueocean.rest.model.BlueQueueItem
io.jenkins.blueocean.service.embedded.rest.QueueItemImpl
- All Implemented Interfaces:
io.jenkins.blueocean.rest.Reachable
public class QueueItemImpl
extends io.jenkins.blueocean.rest.model.BlueQueueItem
- Author:
- ivan Meredith
-
Field Summary
Fields inherited from class io.jenkins.blueocean.rest.model.BlueQueueItem
CAUSE, EXPECTED_BUILD_NUMBER, ID, ORGANIZATION, PIPELINE, QUEUED_TIME
-
Constructor Summary
ConstructorDescriptionQueueItemImpl
(io.jenkins.blueocean.rest.model.BlueOrganization organization, Queue.Item item, io.jenkins.blueocean.rest.model.BluePipeline pipeline, int expectedBuildNumber) -
Method Summary
Methods inherited from class io.jenkins.blueocean.rest.model.Resource
getState
-
Constructor Details
-
QueueItemImpl
public QueueItemImpl(io.jenkins.blueocean.rest.model.BlueOrganization organization, Queue.Item item, io.jenkins.blueocean.rest.model.BluePipeline pipeline, int expectedBuildNumber)
-
-
Method Details
-
getId
- Specified by:
getId
in classio.jenkins.blueocean.rest.model.BlueQueueItem
-
getOrganization
- Specified by:
getOrganization
in classio.jenkins.blueocean.rest.model.BlueQueueItem
-
getPipeline
- Specified by:
getPipeline
in classio.jenkins.blueocean.rest.model.BlueQueueItem
-
getQueuedTime
- Specified by:
getQueuedTime
in classio.jenkins.blueocean.rest.model.BlueQueueItem
-
getQueuedTimeString
- Specified by:
getQueuedTimeString
in classio.jenkins.blueocean.rest.model.BlueQueueItem
-
getExpectedBuildNumber
public int getExpectedBuildNumber()- Specified by:
getExpectedBuildNumber
in classio.jenkins.blueocean.rest.model.BlueQueueItem
-
delete
public void delete()- Specified by:
delete
in classio.jenkins.blueocean.rest.model.BlueQueueItem
-
getCauses
- Specified by:
getCauses
in classio.jenkins.blueocean.rest.model.BlueQueueItem
-
getCauseOfBlockage
- Specified by:
getCauseOfBlockage
in classio.jenkins.blueocean.rest.model.BlueQueueItem
-
toRun
public io.jenkins.blueocean.rest.model.BlueRun toRun()- Specified by:
toRun
in classio.jenkins.blueocean.rest.model.BlueQueueItem
-
getLink
public io.jenkins.blueocean.rest.hal.Link getLink() -
getLinks
public io.jenkins.blueocean.rest.hal.Links getLinks()- Overrides:
getLinks
in classio.jenkins.blueocean.rest.model.Resource
-