public class SlackNotifier extends AbstractStatusChangeNotifier
ignoreChanges| Constructor and Description |
|---|
SlackNotifier() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
createMessage(ClientApplicationEvent event) |
protected void |
doNotify(ClientApplicationEvent event) |
protected String |
getColor(ClientApplicationEvent event) |
protected String |
getText(ClientApplicationEvent event) |
void |
setChannel(String channel) |
void |
setIcon(String icon) |
void |
setMessage(String message) |
void |
setRestTemplate(org.springframework.web.client.RestTemplate restTemplate) |
void |
setUsername(String username) |
void |
setWebhookUrl(URI webhookUrl) |
setIgnoreChanges, shouldNotifynotify, setEnabledprotected void doNotify(ClientApplicationEvent event) throws Exception
doNotify in class AbstractEventNotifierExceptionpublic void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
public void setWebhookUrl(URI webhookUrl)
public void setChannel(String channel)
public void setIcon(String icon)
public void setUsername(String username)
public void setMessage(String message)
protected Object createMessage(ClientApplicationEvent event)
protected String getText(ClientApplicationEvent event)
protected String getColor(ClientApplicationEvent event)
Copyright © 2016 codecentric AG. All rights reserved.