public class PagerdutyNotifier extends AbstractStatusChangeNotifier
| Modifier and Type | Field and Description |
|---|---|
static URI |
DEFAULT_URI |
ignoreChanges| Constructor and Description |
|---|
PagerdutyNotifier() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
createPagerdutyEvent(ClientApplicationEvent event) |
protected void |
doNotify(ClientApplicationEvent event) |
protected String |
getDescirption(ClientApplicationEvent event) |
protected Map<String,Object> |
getDetails(ClientApplicationEvent event) |
void |
setClient(String client) |
void |
setClientUrl(URI clientUrl) |
void |
setDescription(String description) |
void |
setRestTemplate(org.springframework.web.client.RestTemplate restTemplate) |
void |
setServiceKey(String serviceKey) |
void |
setUrl(URI url) |
setIgnoreChanges, shouldNotifynotify, setEnabledpublic static final URI DEFAULT_URI
protected void doNotify(ClientApplicationEvent event) throws Exception
doNotify in class AbstractEventNotifierExceptionprotected Map<String,Object> createPagerdutyEvent(ClientApplicationEvent event)
protected String getDescirption(ClientApplicationEvent event)
protected Map<String,Object> getDetails(ClientApplicationEvent event)
public void setUrl(URI url)
public void setClient(String client)
public void setClientUrl(URI clientUrl)
public void setServiceKey(String serviceKey)
public void setDescription(String description)
public void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
Copyright © 2016 codecentric AG. All rights reserved.