Package hudson.model

Class Queue.LeftItem

All Implemented Interfaces:
ModelObject, SearchableModelObject, SearchItem, ModelObjectWithContextMenu, QueueItem
Enclosing class:

public static final class Queue.LeftItem extends Queue.Item
Queue.Item in the Queue.leftItems stage. These are items that had left the queue by either began executing or by getting cancelled.
  • Field Details

  • Constructor Details

    • LeftItem

      public LeftItem(WorkUnitContext wuc)
      When item has left the queue and begin executing.
    • LeftItem

      public LeftItem(Queue.Item cancelled)
      When item is cancelled.
  • Method Details

    • getCauseOfBlockage

      public CauseOfBlockage getCauseOfBlockage()
      Description copied from class: Queue.Item
      Gets an object that describes why this item is in the queue.
      Specified by:
      getCauseOfBlockage in class Queue.Item
    • getExecutable

      @Exported @CheckForNull public Queue.Executable getExecutable()
      If this is representing an item that started executing, this property returns the primary executable (such as AbstractBuild) that created out of it.
    • isCancelled

      @Exported public boolean isCancelled()
      Is this representing a cancelled item?