public class RocketChatNotifier
extends hudson.tasks.Notifier
| Modifier and Type | Class and Description |
|---|---|
static class |
RocketChatNotifier.DescriptorImpl |
static class |
RocketChatNotifier.RocketJobProperty
Deprecated.
|
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
RocketChatNotifier(String rocketServerUrl,
String username,
String password,
String channel,
String buildServerUrl,
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() |
String |
getChannel() |
CommitInfoChoice |
getCommitInfoChoice() |
String |
getCustomMessage() |
RocketChatNotifier.DescriptorImpl |
getDescriptor() |
boolean |
getNotifyAborted() |
boolean |
getNotifyBackToNormal() |
boolean |
getNotifyFailure() |
boolean |
getNotifyNotBuilt() |
boolean |
getNotifyRepeatedFailure() |
boolean |
getNotifySuccess() |
boolean |
getNotifyUnstable() |
String |
getPassword() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getRocketServerURL() |
boolean |
getStartNotification() |
String |
getUsername() |
boolean |
includeCustomMessage() |
boolean |
includeTestSummary() |
RocketClient |
newRocketChatClient(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 RocketChatNotifier(String rocketServerUrl, String username, String password, String channel, String buildServerUrl, 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 RocketChatNotifier.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Notifierpublic String getRocketServerURL()
public String getUsername()
public String getPassword()
public String getChannel()
public String getBuildServerUrl()
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 RocketClient newRocketChatClient(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.