jenkins.plugins.talk
Class TalkNotifier
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
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 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 |
| 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)
|
| 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 |
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)
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.