Package org.jenkinsci.plugins.snsnotify
Class AmazonSNSNotifier
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
org.jenkinsci.plugins.snsnotify.AmazonSNSNotifier
- All Implemented Interfaces:
ExtensionPoint,Describable<Publisher>,BuildStep
public class AmazonSNSNotifier extends Notifier
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAmazonSNSNotifier.DescriptorImplNested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImplNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested 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 AmazonSNSNotifier(String projectTopicArn, String subjectTemplate, String messageTemplate) -
Method Summary
Modifier and Type Method Description AmazonSNSNotifier.DescriptorImplgetDescriptor()StringgetMessageTemplate()static AmazonSNSNotifiergetNotifier(AbstractProject project)StringgetProjectTopicArn()BuildStepMonitorgetRequiredMonitorService()StringgetSubjectTemplate()voidonCompleted(AbstractBuild build, TaskListener listener)voidonStarted(AbstractBuild build, TaskListener listener)booleanperform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuild
-
Constructor Details
-
AmazonSNSNotifier
-
-
Method Details
-
getProjectTopicArn
-
getSubjectTemplate
-
getMessageTemplate
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<Publisher>- Overrides:
getDescriptorin classNotifier
-
getNotifier
-
onStarted
-
onCompleted
-
getRequiredMonitorService
-
perform
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer- Throws:
InterruptedExceptionIOException
-