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 BuildStepDescriptorImpl
getDescriptor()
BaseModel
getForm()
String
getProjectNumber()
boolean
perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
abstract String
perform(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:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
-
getDescriptor
public BuildStepDescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Builder>
- Overrides:
getDescriptor
in classBuilder
-
-