public class PagerdutyNotifier extends AbstractStatusChangeNotifier
| Modifier and Type | Field and Description |
|---|---|
static URI |
DEFAULT_URI |
| Constructor and Description |
|---|
PagerdutyNotifier() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
createPagerdutyEvent(ClientApplicationEvent event) |
protected void |
doNotify(ClientApplicationEvent event) |
String |
getClient() |
URI |
getClientUrl() |
String |
getDescription() |
protected String |
getDescription(ClientApplicationEvent event) |
protected Map<String,Object> |
getDetails(ClientApplicationEvent event) |
String |
getServiceKey() |
URI |
getUrl() |
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) |
getIgnoreChanges, setIgnoreChanges, shouldNotifyisEnabled, notify, 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 getDescription(ClientApplicationEvent event)
protected Map<String,Object> getDetails(ClientApplicationEvent event)
public void setUrl(URI url)
public URI getUrl()
public void setClient(String client)
public String getClient()
public void setClientUrl(URI clientUrl)
public URI getClientUrl()
public void setServiceKey(String serviceKey)
public String getServiceKey()
public void setDescription(String description)
public String getDescription()
public void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
Copyright © 2018 codecentric AG. All rights reserved.