public class SlackNotifier
extends hudson.tasks.Notifier
| Modifier and Type | Class and Description |
|---|---|
static class |
SlackNotifier.DescriptorImpl |
static class |
SlackNotifier.SlackJobProperty |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
SlackNotifier(String teamDomain,
String authToken,
String room,
String buildServerUrl,
String sendAs) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthToken() |
String |
getBuildServerUrl() |
SlackNotifier.DescriptorImpl |
getDescriptor() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getRoom() |
String |
getSendAs() |
String |
getTeamDomain() |
SlackService |
newSlackService(String teamDomain,
String token,
String projectRoom) |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
void |
update() |
all, getProjectAction, needsToRunAfterFinalized, prebuildpublic SlackNotifier.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Notifierpublic String getTeamDomain()
public String getRoom()
public String getAuthToken()
public String getBuildServerUrl()
public String getSendAs()
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public SlackService newSlackService(String teamDomain, String token, String projectRoom)
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 void update()
Copyright © 2004-2015. All Rights Reserved.