public class HipChatNotifier
extends hudson.tasks.Notifier
| Modifier and Type | Class and Description |
|---|---|
static class |
HipChatNotifier.DescriptorImpl |
static class |
HipChatNotifier.HipChatJobProperty
Deprecated.
The plugin configuration should be stored in
HipChatNotifier. This class only exists, so
configurations can be migrated for the build jobs. |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
HipChatNotifier(String token,
String room,
boolean startNotification,
boolean notifySuccess,
boolean notifyAborted,
boolean notifyNotBuilt,
boolean notifyUnstable,
boolean notifyFailure,
boolean notifyBackToNormal,
String startJobMessage,
String completeJobMessage) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCompleteJobMessage() |
String |
getCompleteJobMessageDefault() |
HipChatNotifier.DescriptorImpl |
getDescriptor() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getRoom() |
String |
getStartJobMessage() |
String |
getStartJobMessageDefault() |
String |
getToken() |
boolean |
isNotifyAborted() |
boolean |
isNotifyBackToNormal() |
boolean |
isNotifyFailure() |
boolean |
isNotifyNotBuilt() |
boolean |
isNotifySuccess() |
boolean |
isNotifyUnstable() |
boolean |
isStartNotification() |
boolean |
needsToRunAfterFinalized() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
boolean |
prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener) |
void |
setCompleteJobMessage(String completeJobMessage) |
void |
setNotifyAborted(boolean notifyAborted) |
void |
setNotifyBackToNormal(boolean notifyBackToNormal) |
void |
setNotifyFailure(boolean notifyFailure) |
void |
setNotifyNotBuilt(boolean notifyNotBuilt) |
void |
setNotifySuccess(boolean notifySuccess) |
void |
setNotifyUnstable(boolean notifyUnstable) |
void |
setRoom(String room) |
void |
setStartJobMessage(String startJobMessage) |
void |
setStartNotification(boolean startNotification) |
void |
setToken(String token) |
getProjectAction, getProjectActions, perform@DataBoundConstructor public HipChatNotifier(String token, String room, boolean startNotification, boolean notifySuccess, boolean notifyAborted, boolean notifyNotBuilt, boolean notifyUnstable, boolean notifyFailure, boolean notifyBackToNormal, String startJobMessage, String completeJobMessage)
public boolean isStartNotification()
public void setStartNotification(boolean startNotification)
public boolean isNotifySuccess()
public void setNotifySuccess(boolean notifySuccess)
public boolean isNotifyAborted()
public void setNotifyAborted(boolean notifyAborted)
public boolean isNotifyNotBuilt()
public void setNotifyNotBuilt(boolean notifyNotBuilt)
public boolean isNotifyUnstable()
public void setNotifyUnstable(boolean notifyUnstable)
public boolean isNotifyFailure()
public void setNotifyFailure(boolean notifyFailure)
public boolean isNotifyBackToNormal()
public void setNotifyBackToNormal(boolean notifyBackToNormal)
public String getStartJobMessage()
public void setStartJobMessage(String startJobMessage)
public String getCompleteJobMessage()
public void setCompleteJobMessage(String completeJobMessage)
public String getStartJobMessageDefault()
public String getCompleteJobMessageDefault()
public String getRoom()
public void setRoom(String room)
public String getToken()
public void setToken(String token)
public HipChatNotifier.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Notifierpublic boolean needsToRunAfterFinalized()
needsToRunAfterFinalized in class hudson.tasks.Publisherpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public boolean prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
prebuild in interface hudson.tasks.BuildStepprebuild in class hudson.tasks.BuildStepCompatibilityLayerpublic 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.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionCopyright © 2004-2015. All Rights Reserved.