Class LockableResourcesRootAction.Queue.QueueStruct

java.lang.Object
org.jenkins.plugins.lockableresources.actions.LockableResourcesRootAction.Queue.QueueStruct
Enclosing class:
LockableResourcesRootAction.Queue

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static class LockableResourcesRootAction.Queue.QueueStruct extends Object
  • Constructor Details

  • Method Details

    • getRequiredResources

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public List<LockableResource> getRequiredResources()
    • getRequiredLabel

      @NonNull @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public String getRequiredLabel()
    • getRequiredNumber

      @NonNull @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public String getRequiredNumber()
    • getGroovyScript

      @NonNull @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public String getGroovyScript()
    • getBuild

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public Run<?,?> getBuild()
    • getQueuedAt

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public long getQueuedAt()
    • takeTooLong

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public boolean takeTooLong()
      Check if the queue takes too long. At the moment "too long" means over 1 hour.
    • getQueuedTimestamp

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public Date getQueuedTimestamp()
      Returns timestamp when the resource has been added into queue.
    • getPriority

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

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public String getId()
      Returns queue ID.
    • resourcesMatch

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public boolean resourcesMatch()
    • labelsMatch

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public boolean labelsMatch()
    • scriptMatch

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public boolean scriptMatch()