public class OpsGenieNotifier extends AbstractStatusChangeNotifier
| Constructor and Description |
|---|
OpsGenieNotifier(InstanceRepository repository) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildUrl(InstanceEvent event,
Instance instance) |
protected org.springframework.http.HttpEntity<?> |
createRequest(InstanceEvent event,
Instance instance) |
protected reactor.core.publisher.Mono<Void> |
doNotify(InstanceEvent event,
Instance instance) |
protected String |
generateAlias(Instance instance) |
String |
getActions() |
String |
getApiKey() |
protected String |
getDescription(InstanceEvent event,
Instance instance) |
String |
getEntity() |
String |
getMessage() |
protected String |
getMessage(InstanceEvent event,
Instance instance) |
String |
getSource() |
String |
getTags() |
String |
getUser() |
void |
setActions(String actions) |
void |
setApiKey(String apiKey) |
void |
setDescription(String description) |
void |
setEntity(String entity) |
void |
setRestTemplate(org.springframework.web.client.RestTemplate restTemplate) |
void |
setSource(String source) |
void |
setTags(String tags) |
void |
setUser(String user) |
getIgnoreChanges, getLastStatus, notify, setIgnoreChanges, shouldNotify, updateLastStatusisEnabled, setEnabledpublic OpsGenieNotifier(InstanceRepository repository)
protected reactor.core.publisher.Mono<Void> doNotify(InstanceEvent event, Instance instance)
doNotify in class AbstractEventNotifierprotected String buildUrl(InstanceEvent event, Instance instance)
protected org.springframework.http.HttpEntity<?> createRequest(InstanceEvent event, Instance instance)
protected String getMessage(InstanceEvent event, Instance instance)
protected String getDescription(InstanceEvent event, Instance instance)
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 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.