Class RetryStep
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.Step
-
- org.jenkinsci.plugins.workflow.steps.RetryStep
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public class RetryStep extends org.jenkinsci.plugins.workflow.steps.Step
Executes the body up to N times.- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RetryStep.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description RetryStep(int count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.jenkinsci.plugins.workflow.flow.ErrorCondition>
getConditions()
int
getCount()
RetryStep.DescriptorImpl
getDescriptor()
void
setConditions(List<org.jenkinsci.plugins.workflow.flow.ErrorCondition> conditions)
org.jenkinsci.plugins.workflow.steps.StepExecution
start(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
-
-
Method Detail
-
getCount
public int getCount()
-
getConditions
public List<org.jenkinsci.plugins.workflow.flow.ErrorCondition> getConditions()
-
setConditions
@DataBoundSetter public void setConditions(List<org.jenkinsci.plugins.workflow.flow.ErrorCondition> conditions)
-
getDescriptor
public RetryStep.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<org.jenkinsci.plugins.workflow.steps.Step>
- Overrides:
getDescriptor
in classorg.jenkinsci.plugins.workflow.steps.Step
-
-