Class QueuedContextStruct
- java.lang.Object
-
- org.jenkins.plugins.lockableresources.queue.QueuedContextStruct
-
- All Implemented Interfaces:
Serializable
public class QueuedContextStruct extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description List<String>
candidates
-
Constructor Summary
Constructors Constructor Description QueuedContextStruct(org.jenkinsci.plugins.workflow.steps.StepContext context, List<LockableResourcesStruct> lockableResourcesStruct, String resourceDescription, String variableName, int priority)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(QueuedContextStruct other)
Run<?,?>
getBuild()
Return build, where is the resource used.org.jenkinsci.plugins.workflow.steps.StepContext
getContext()
String
getId()
PrintStream
getLogger()
int
getPriority()
String
getResourceDescription()
List<LockableResourcesStruct>
getResources()
String
getVariableName()
boolean
isValid()
String
toString()
-
-
-
Constructor Detail
-
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 Detail
-
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()
-
getLogger
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public PrintStream getLogger()
-
-