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() |
URI |
getUrl() |
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 |
setUrl(URI url) |
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)
@Nullable protected String getMessage(InstanceEvent event, Instance instance)
protected String getDescription(InstanceEvent event, Instance instance)
public void setDescription(String description)
public String getMessage()
public void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
public URI getUrl()
public void setUrl(URI url)
Copyright © 2018 codecentric AG. All rights reserved.