public class HipchatNotifier extends AbstractStatusChangeNotifier
| Constructor and Description |
|---|
HipchatNotifier(InstanceRepository repository) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildUrl() |
protected org.springframework.http.HttpEntity<Map<String,Object>> |
createHipChatNotification(InstanceEvent event,
Instance instance) |
protected reactor.core.publisher.Mono<Void> |
doNotify(InstanceEvent event,
Instance instance) |
String |
getAuthToken() |
protected String |
getColor(InstanceEvent event) |
String |
getDescription() |
protected String |
getMessage(InstanceEvent event,
Instance instance) |
protected boolean |
getNotify() |
String |
getRoomId() |
URI |
getUrl() |
boolean |
isNotify() |
void |
setAuthToken(String authToken) |
void |
setDescription(String description) |
void |
setNotify(boolean notify) |
void |
setRestTemplate(org.springframework.web.client.RestTemplate restTemplate) |
void |
setRoomId(String roomId) |
void |
setUrl(URI url) |
getIgnoreChanges, getLastStatus, notify, setIgnoreChanges, shouldNotify, updateLastStatusisEnabled, setEnabledpublic HipchatNotifier(InstanceRepository repository)
protected reactor.core.publisher.Mono<Void> doNotify(InstanceEvent event, Instance instance)
doNotify in class AbstractEventNotifierprotected String buildUrl()
protected org.springframework.http.HttpEntity<Map<String,Object>> createHipChatNotification(InstanceEvent event, Instance instance)
protected boolean getNotify()
protected String getMessage(InstanceEvent event, Instance instance)
protected String getColor(InstanceEvent event)
public void setUrl(URI url)
public URI getUrl()
public void setAuthToken(String authToken)
public String getAuthToken()
public void setRoomId(String roomId)
public String getRoomId()
public void setNotify(boolean notify)
public boolean isNotify()
public void setDescription(String description)
public String getDescription()
public void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
Copyright © 2018 codecentric AG. All rights reserved.