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 AbstractEventNotifierprotected Object createMessage(InstanceEvent event, Instance instance)
@Nullable protected String getText(InstanceEvent event, Instance instance)
public void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
public void setUsername(String username)
public String getUsername()
public void setMessage(String message)
public String getMessage()
Copyright © 2018 codecentric AG. All rights reserved.