jenkins.plugins.talk
Class TalkNotifier

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Notifier
              extended by jenkins.plugins.talk.TalkNotifier
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class TalkNotifier
extends hudson.tasks.Notifier


Nested Class Summary
static class TalkNotifier.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tasks.Publisher
hudson.tasks.Publisher.DescriptorExtensionListImpl
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Field Summary
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
TalkNotifier(String webHook, String buildServerUrl, String sendAs, boolean startNotification, boolean notifyAborted, boolean notifyFailure, boolean notifyNotBuilt, boolean notifySuccess, boolean notifyUnstable, boolean notifyBackToNormal, boolean notifyRepeatedFailure, boolean includeTestSummary, boolean showCommitList)
           
 
Method Summary
 String getBuildServerUrl()
           
 TalkNotifier.DescriptorImpl getDescriptor()
           
 boolean getNotifyAborted()
           
 boolean getNotifyBackToNormal()
           
 boolean getNotifyFailure()
           
 boolean getNotifyNotBuilt()
           
 boolean getNotifyRepeatedFailure()
           
 boolean getNotifySuccess()
           
 boolean getNotifyUnstable()
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 String getSendAs()
           
 boolean getShowCommitList()
           
 boolean getStartNotification()
           
 String getWebHook()
           
 boolean includeTestSummary()
           
 TalkService newTalkService(hudson.model.AbstractBuild r, hudson.model.BuildListener listener)
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 boolean prebuild(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TalkNotifier

@DataBoundConstructor
public TalkNotifier(String webHook,
                                         String buildServerUrl,
                                         String sendAs,
                                         boolean startNotification,
                                         boolean notifyAborted,
                                         boolean notifyFailure,
                                         boolean notifyNotBuilt,
                                         boolean notifySuccess,
                                         boolean notifyUnstable,
                                         boolean notifyBackToNormal,
                                         boolean notifyRepeatedFailure,
                                         boolean includeTestSummary,
                                         boolean showCommitList)
Method Detail

getDescriptor

public TalkNotifier.DescriptorImpl getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>
Overrides:
getDescriptor in class hudson.tasks.Notifier

getWebHook

public String getWebHook()

getBuildServerUrl

public String getBuildServerUrl()

getSendAs

public String getSendAs()

getStartNotification

public boolean getStartNotification()

getNotifySuccess

public boolean getNotifySuccess()

getShowCommitList

public boolean getShowCommitList()

getNotifyAborted

public boolean getNotifyAborted()

getNotifyFailure

public boolean getNotifyFailure()

getNotifyNotBuilt

public boolean getNotifyNotBuilt()

getNotifyUnstable

public boolean getNotifyUnstable()

getNotifyBackToNormal

public boolean getNotifyBackToNormal()

includeTestSummary

public boolean includeTestSummary()

getNotifyRepeatedFailure

public boolean getNotifyRepeatedFailure()

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()

newTalkService

public TalkService newTalkService(hudson.model.AbstractBuild r,
                                  hudson.model.BuildListener listener)

perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
                throws InterruptedException,
                       IOException
Specified by:
perform in interface hudson.tasks.BuildStep
Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
Throws:
InterruptedException
IOException

prebuild

public boolean prebuild(hudson.model.AbstractBuild<?,?> build,
                        hudson.model.BuildListener listener)
Specified by:
prebuild in interface hudson.tasks.BuildStep
Overrides:
prebuild in class hudson.tasks.BuildStepCompatibilityLayer


Copyright © 2004-2015. All Rights Reserved.