Class QueuedContextStruct
java.lang.Object
org.jenkins.plugins.lockableresources.queue.QueuedContextStruct
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionQueuedContextStruct
(org.jenkinsci.plugins.workflow.steps.StepContext context, List<LockableResourcesStruct> lockableResourcesStruct, String resourceDescription, String variableName, int priority) -
Method Summary
-
Field Details
-
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
-
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
-
toString
-
getLogger
-