Package org.jenkinsci.plugins.p4.tagging
Class TagNotifier
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Notifier
-
- org.jenkinsci.plugins.p4.tagging.TagNotifier
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
- Direct Known Subclasses:
TagNotifierStep
public class TagNotifier extends Notifier
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TagNotifier.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 Modifier and Type Field Description boolean
onlyOnSuccess
String
rawLabelDesc
String
rawLabelName
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description TagNotifier(String rawLabelName, String rawLabelDesc, boolean onlyOnSuccess)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TagNotifier.DescriptorImpl
descriptor()
BuildStepMonitor
getRequiredMonitorService()
boolean
perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
-
Methods inherited from class hudson.tasks.Notifier
getDescriptor
-
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()
-
perform
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException
- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
InterruptedException
-
descriptor
public static TagNotifier.DescriptorImpl descriptor()
-
-