Class BuildStep
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- io.jenkins.plugins.actions.buildstepaction.builder.BuildStep
-
- All Implemented Interfaces:
ExtensionPoint,Describable<Builder>,BuildStep
- Direct Known Subclasses:
AddFeedStatus,ItemStepBuilder,ReleaseStepBuilder,SprintsStepBuilder
public abstract class BuildStep extends Builder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description BuildStepDescriptorImplgetDescriptor()BaseModelgetForm()StringgetProjectNumber()booleanperform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)abstract Stringperform(Function<String,String> replacer)-
Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
-
-
-
-
Constructor Detail
-
BuildStep
public BuildStep(BaseModel form)
-
-
Method Detail
-
getForm
public BaseModel getForm()
-
getProjectNumber
public String getProjectNumber()
-
perform
public abstract String perform(Function<String,String> replacer) throws Exception
- Throws:
Exception
-
perform
public final boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
- Specified by:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer- Throws:
InterruptedExceptionIOException
-
getDescriptor
public BuildStepDescriptorImpl getDescriptor()
- Specified by:
getDescriptorin interfaceDescribable<Builder>- Overrides:
getDescriptorin classBuilder
-
-