Class QueuedContextStruct

java.lang.Object
org.jenkins.plugins.lockableresources.queue.QueuedContextStruct
All Implemented Interfaces:
Serializable

public class QueuedContextStruct extends Object implements Serializable
See Also:
  • Field Details

    • candidates

      public transient List<String> candidates
  • Constructor Details

    • QueuedContextStruct

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public QueuedContextStruct(org.jenkinsci.plugins.workflow.steps.StepContext context, List<LockableResourcesStruct> lockableResourcesStruct, String resourceDescription, String variableName, int priority)
  • Method Details

    • compare

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public int compare(QueuedContextStruct other)
    • getPriority

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public int getPriority()
    • getId

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public String getId()
    • getContext

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public org.jenkinsci.plugins.workflow.steps.StepContext getContext()
    • getBuild

      @CheckForNull @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public Run<?,?> getBuild()
      Return build, where is the resource used.
    • isValid

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public boolean isValid()
    • getResources

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public List<LockableResourcesStruct> getResources()
    • getResourceDescription

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public String getResourceDescription()
    • getVariableName

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public String getVariableName()
    • toString

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public String toString()
      Overrides:
      toString in class Object
    • getLogger

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public PrintStream getLogger()