Class LockStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
org.jenkins.plugins.lockableresources.LockStep
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
,Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Modifier and TypeFieldDescriptionboolean
int
int
boolean
name of environment variable to store locked resources in -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setExtra
(List<LockStepResource> extra) void
setInversePrecedence
(boolean inversePrecedence) void
void
setPriority
(int priority) void
setQuantity
(int quantity) void
setResourceSelectStrategy
(String resourceSelectStrategy) void
setSkipIfLocked
(boolean skipIfLocked) void
setVariable
(String variable) org.jenkinsci.plugins.workflow.steps.StepExecution
start
(org.jenkinsci.plugins.workflow.steps.StepContext context) toString()
void
validate()
Label and resource are mutual exclusive.Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Field Details
-
resource
-
label
-
quantity
public int quantity -
variable
name of environment variable to store locked resources in -
inversePrecedence
public boolean inversePrecedence -
resourceSelectStrategy
-
skipIfLocked
public boolean skipIfLocked -
extra
-
priority
public int priority
-
-
Constructor Details
-
LockStep
-
-
Method Details
-
setInversePrecedence
@DataBoundSetter public void setInversePrecedence(boolean inversePrecedence) -
setResourceSelectStrategy
-
setSkipIfLocked
@DataBoundSetter public void setSkipIfLocked(boolean skipIfLocked) -
setLabel
-
setVariable
-
setQuantity
@DataBoundSetter public void setQuantity(int quantity) -
setPriority
@DataBoundSetter public void setPriority(int priority) -
setExtra
-
toString
-
validate
public void validate()Label and resource are mutual exclusive. -
getResources
-
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) - Specified by:
start
in classorg.jenkinsci.plugins.workflow.steps.Step
-