public class LetsChatNotifier extends AbstractStatusChangeNotifier
| Constructor and Description |
|---|
LetsChatNotifier(InstanceRepository repository) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
createMessage(InstanceEvent event,
Instance instance) |
protected reactor.core.publisher.Mono<Void> |
doNotify(InstanceEvent event,
Instance instance) |
String |
getMessage() |
String |
getRoom() |
protected String |
getText(InstanceEvent event,
Instance instance) |
String |
getToken() |
URI |
getUrl() |
String |
getUsername() |
void |
setMessage(String message) |
void |
setRestTemplate(org.springframework.web.client.RestTemplate restTemplate) |
void |
setRoom(String room) |
void |
setToken(String token) |
void |
setUrl(URI url) |
void |
setUsername(String username) |
getIgnoreChanges, getLastStatus, notify, setIgnoreChanges, shouldNotify, updateLastStatusisEnabled, setEnabledpublic LetsChatNotifier(InstanceRepository repository)
protected reactor.core.publisher.Mono<Void> doNotify(InstanceEvent event, Instance instance)
doNotify in class AbstractEventNotifierpublic void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
public void setUrl(URI url)
public void setUsername(String username)
public void setRoom(String room)
public void setToken(String token)
public void setMessage(String message)
protected Object createMessage(InstanceEvent event, Instance instance)
protected String getText(InstanceEvent event, Instance instance)
public URI getUrl()
public String getRoom()
public String getToken()
public String getUsername()
public String getMessage()
Copyright © 2018 codecentric AG. All rights reserved.