Package hudson.plugins.descriptionsetter
Class DescriptionSetterPublisher
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Recorder
-
- hudson.plugins.descriptionsetter.DescriptionSetterPublisher
-
- All Implemented Interfaces:
ExtensionPoint
,hudson.matrix.MatrixAggregatable
,Describable<Publisher>
,BuildStep
public class DescriptionSetterPublisher extends Recorder implements hudson.matrix.MatrixAggregatable
The DescriptionSetterPublisher allows the description of a build to be set as a post-build action, after the build has completed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DescriptionSetterPublisher.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
-
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
-
-
Constructor Summary
Constructors Constructor Description DescriptionSetterPublisher(String regexp, String regexpForFailed, String description, String descriptionForFailed, boolean setForMatrix, boolean appendMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description hudson.matrix.MatrixAggregator
createAggregator(hudson.matrix.MatrixBuild build, Launcher launcher, BuildListener listener)
String
getDescription()
String
getDescriptionForFailed()
DescriptionSetterPublisher.DescriptorImpl
getDescriptor()
String
getRegexp()
String
getRegexpForFailed()
BuildStepMonitor
getRequiredMonitorService()
boolean
isAppendMode()
boolean
isExplicitNotRegexp()
Deprecated.boolean
isSetForFailed()
Deprecated.boolean
isSetForMatrix()
boolean
perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
-
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuild
-
-
-
-
Method Detail
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
-
perform
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException
- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
InterruptedException
-
getDescriptor
public DescriptionSetterPublisher.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Publisher>
- Overrides:
getDescriptor
in classRecorder
-
isExplicitNotRegexp
@Deprecated public boolean isExplicitNotRegexp()
Deprecated.
-
getRegexp
public String getRegexp()
-
isSetForFailed
@Deprecated public boolean isSetForFailed()
Deprecated.
-
getRegexpForFailed
public String getRegexpForFailed()
-
getDescription
public String getDescription()
-
getDescriptionForFailed
public String getDescriptionForFailed()
-
createAggregator
public hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build, Launcher launcher, BuildListener listener)
- Specified by:
createAggregator
in interfacehudson.matrix.MatrixAggregatable
-
isSetForMatrix
public boolean isSetForMatrix()
-
isAppendMode
public boolean isAppendMode()
-
-