public class OpsGenieNotifier extends AbstractStatusChangeNotifier
| Constructor and Description |
|---|
OpsGenieNotifier() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildUrl(ClientApplicationEvent event) |
protected org.springframework.http.HttpEntity |
createRequest(ClientApplicationEvent event) |
protected void |
doNotify(ClientApplicationEvent event) |
String |
getActions() |
String |
getApiKey() |
protected String |
getDescription(ClientApplicationEvent event) |
String |
getEntity() |
String |
getMessage() |
protected String |
getMessage(ClientApplicationEvent event) |
String |
getRecipients() |
String |
getSource() |
String |
getTags() |
String |
getUser() |
void |
setActions(String actions) |
void |
setApiKey(String apiKey) |
void |
setDescription(String description) |
void |
setEntity(String entity) |
void |
setRecipients(String recipients) |
void |
setRestTemplate(org.springframework.web.client.RestTemplate restTemplate) |
void |
setSource(String source) |
void |
setTags(String tags) |
void |
setUser(String user) |
getIgnoreChanges, setIgnoreChanges, shouldNotifyisEnabled, notify, setEnabledprotected void doNotify(ClientApplicationEvent event) throws Exception
doNotify in class AbstractEventNotifierExceptionprotected String buildUrl(ClientApplicationEvent event)
protected org.springframework.http.HttpEntity createRequest(ClientApplicationEvent event)
protected String getMessage(ClientApplicationEvent event)
protected String getDescription(ClientApplicationEvent event)
public void setApiKey(String apiKey)
public String getApiKey()
public void setDescription(String description)
public String getMessage()
public void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
public String getRecipients()
public void setRecipients(String recipients)
public String getActions()
public void setActions(String actions)
public String getSource()
public void setSource(String source)
public String getTags()
public void setTags(String tags)
public String getEntity()
public void setEntity(String entity)
public String getUser()
public void setUser(String user)
Copyright © 2018 codecentric AG. All rights reserved.