java.lang.Object
org.jenkinsci.plugins.ParameterizedRemoteTrigger.remoteJob.QueueItemData

public class QueueItemData extends Object
Contains information about the remote job while is waiting on the queue.
  • Constructor Details

  • 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

      @NonNull public QueueItemStatus getStatus()
    • getWhy

      @CheckForNull public String getWhy()
    • getBuildNumber

      @NonNull public int getBuildNumber()
    • getBuildURL

      @CheckForNull public URL 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.