public class MattermostNotifier
extends hudson.tasks.Notifier
| Modifier and Type | Class and Description |
|---|---|
static class |
MattermostNotifier.DescriptorImpl |
static class |
MattermostNotifier.MattermostJobProperty
Deprecated.
|
static class |
MattermostNotifier.Migrator |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
MattermostNotifier(String endpoint,
String room,
String icon,
String buildServerUrl,
String sendAs,
boolean startNotification,
boolean notifyAborted,
boolean notifyFailure,
boolean notifyNotBuilt,
boolean notifySuccess,
boolean notifyUnstable,
boolean notifyBackToNormal,
boolean notifyRepeatedFailure,
boolean includeTestSummary,
CommitInfoChoice commitInfoChoice,
boolean includeCustomMessage,
String customMessage) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBuildServerUrl() |
CommitInfoChoice |
getCommitInfoChoice() |
String |
getCustomMessage() |
MattermostNotifier.DescriptorImpl |
getDescriptor() |
String |
getEndpoint() |
String |
getIcon() |
boolean |
getNotifyAborted() |
boolean |
getNotifyBackToNormal() |
boolean |
getNotifyFailure() |
boolean |
getNotifyNotBuilt() |
boolean |
getNotifyRepeatedFailure() |
boolean |
getNotifySuccess() |
boolean |
getNotifyUnstable() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getRoom() |
String |
getSendAs() |
boolean |
getStartNotification() |
boolean |
includeCustomMessage() |
boolean |
includeTestSummary() |
MattermostService |
newMattermostService(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) |
all, getProjectAction, needsToRunAfterFinalized, prebuild@DataBoundConstructor public MattermostNotifier(String endpoint, String room, String icon, String buildServerUrl, String sendAs, boolean startNotification, boolean notifyAborted, boolean notifyFailure, boolean notifyNotBuilt, boolean notifySuccess, boolean notifyUnstable, boolean notifyBackToNormal, boolean notifyRepeatedFailure, boolean includeTestSummary, CommitInfoChoice commitInfoChoice, boolean includeCustomMessage, String customMessage)
public MattermostNotifier.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Notifierpublic String getEndpoint()
public String getRoom()
public String getIcon()
public String getBuildServerUrl()
public String getSendAs()
public boolean getStartNotification()
public boolean getNotifySuccess()
public CommitInfoChoice getCommitInfoChoice()
public boolean getNotifyAborted()
public boolean getNotifyFailure()
public boolean getNotifyNotBuilt()
public boolean getNotifyUnstable()
public boolean getNotifyBackToNormal()
public boolean includeTestSummary()
public boolean getNotifyRepeatedFailure()
public boolean includeCustomMessage()
public String getCustomMessage()
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public MattermostService newMattermostService(hudson.model.AbstractBuild r, hudson.model.BuildListener listener)
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionpublic boolean prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
prebuild in interface hudson.tasks.BuildStepprebuild in class hudson.tasks.BuildStepCompatibilityLayerCopyright © 2016. All rights reserved.