public class AcquireStep extends org.jenkinsci.plugins.workflow.steps.Step implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
AcquireStep.DescriptorImpl |
static class |
AcquireStep.Execution |
Constructor and Description |
---|
AcquireStep(SemaphoreRef semaphore) |
Modifier and Type | Method and Description |
---|---|
void |
setPermit(int permit) |
void |
setTimeout(long timeout) |
void |
setUnit(TimeUnit unit) |
org.jenkinsci.plugins.workflow.steps.StepExecution |
start(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) |
@DataBoundConstructor public AcquireStep(SemaphoreRef semaphore)
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext stepContext)
start
in class org.jenkinsci.plugins.workflow.steps.Step
@DataBoundSetter public void setTimeout(long timeout)
@DataBoundSetter public void setUnit(TimeUnit unit)
@DataBoundSetter public void setPermit(int permit)
Copyright © 2016–2020. All rights reserved.