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
  • 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

      public String getId()
      Specified by:
      getId in class io.jenkins.blueocean.rest.model.BlueQueueItem
    • getOrganization

      public String getOrganization()
      Specified by:
      getOrganization in class io.jenkins.blueocean.rest.model.BlueQueueItem
    • getPipeline

      public String getPipeline()
      Specified by:
      getPipeline in class io.jenkins.blueocean.rest.model.BlueQueueItem
    • getQueuedTime

      public Date getQueuedTime()
      Specified by:
      getQueuedTime in class io.jenkins.blueocean.rest.model.BlueQueueItem
    • getQueuedTimeString

      @Exported(name="queuedTime") public String getQueuedTimeString()
      Specified by:
      getQueuedTimeString in class io.jenkins.blueocean.rest.model.BlueQueueItem
    • getExpectedBuildNumber

      public int getExpectedBuildNumber()
      Specified by:
      getExpectedBuildNumber in class io.jenkins.blueocean.rest.model.BlueQueueItem
    • delete

      public void delete()
      Specified by:
      delete in class io.jenkins.blueocean.rest.model.BlueQueueItem
    • getCauses

      public Collection<io.jenkins.blueocean.rest.model.BlueRun.BlueCause> getCauses()
      Specified by:
      getCauses in class io.jenkins.blueocean.rest.model.BlueQueueItem
    • getCauseOfBlockage

      public String getCauseOfBlockage()
      Specified by:
      getCauseOfBlockage in class io.jenkins.blueocean.rest.model.BlueQueueItem
    • toRun

      public io.jenkins.blueocean.rest.model.BlueRun toRun()
      Specified by:
      toRun in class io.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 class io.jenkins.blueocean.rest.model.Resource