Class BuildStepRunner
- java.lang.Object
-
- org.jenkins_ci.plugins.run_condition.BuildStepRunner
-
- All Implemented Interfaces:
Describable<BuildStepRunner>
- Direct Known Subclasses:
BuildStepRunner.DontRun
,BuildStepRunner.Fail
,BuildStepRunner.Run
,BuildStepRunner.RunUnstable
,BuildStepRunner.Unstable
public abstract class BuildStepRunner extends Object implements Describable<BuildStepRunner>
Enable the user to choose what happens when an exception occurs when evaluating a condition.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BuildStepRunner.BuildStepRunnerDescriptor
static class
BuildStepRunner.DontRun
static class
BuildStepRunner.Fail
static class
BuildStepRunner.Run
static class
BuildStepRunner.RunUnstable
static class
BuildStepRunner.Unstable
-
Constructor Summary
Constructors Constructor Description BuildStepRunner()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static DescriptorExtensionList<BuildStepRunner,BuildStepRunner.BuildStepRunnerDescriptor>
all()
abstract boolean
conditionalRun(org.jenkins_ci.plugins.run_condition.BuildStepRunner.ConditionAndStep target, AbstractBuild<?,?> build, BuildListener listener)
BuildStepRunner.BuildStepRunnerDescriptor
getDescriptor()
boolean
perform(RunCondition condition, BuildStep buildStep, AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
boolean
prebuild(RunCondition condition, BuildStep buildStep, AbstractBuild<?,?> build, BuildListener listener)
-
-
-
Method Detail
-
all
public static DescriptorExtensionList<BuildStepRunner,BuildStepRunner.BuildStepRunnerDescriptor> all()
-
conditionalRun
public abstract boolean conditionalRun(org.jenkins_ci.plugins.run_condition.BuildStepRunner.ConditionAndStep target, AbstractBuild<?,?> build, BuildListener listener) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
prebuild
public final boolean prebuild(RunCondition condition, BuildStep buildStep, AbstractBuild<?,?> build, BuildListener listener)
-
perform
public final boolean perform(RunCondition condition, BuildStep buildStep, AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
- Throws:
InterruptedException
IOException
-
getDescriptor
public BuildStepRunner.BuildStepRunnerDescriptor getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<BuildStepRunner>
-
-