public class TelegramNotifier extends AbstractStatusChangeNotifier
| Constructor and Description |
|---|
TelegramNotifier() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildUrl() |
protected void |
doNotify(ClientApplicationEvent event) |
String |
getApiUrl() |
String |
getAuthToken() |
String |
getChatId() |
String |
getParse_mode() |
protected String |
getText(ClientApplicationEvent event) |
boolean |
isDisableNotify() |
void |
setApiUrl(String apiUrl) |
void |
setAuthToken(String authToken) |
void |
setChatId(String chatId) |
void |
setDisableNotify(boolean disableNotify) |
void |
setMessage(String message) |
void |
setParse_mode(String parse_mode) |
void |
setRestTemplate(org.springframework.web.client.RestTemplate restTemplate) |
void |
setRestTemplate(org.springframework.boot.web.client.RestTemplateBuilder builder) |
getIgnoreChanges, setIgnoreChanges, shouldNotifyisEnabled, notify, setEnabledprotected void doNotify(ClientApplicationEvent event)
doNotify in class AbstractEventNotifierprotected String buildUrl()
protected String getText(ClientApplicationEvent event)
public void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
public void setRestTemplate(org.springframework.boot.web.client.RestTemplateBuilder builder)
public String getApiUrl()
public void setApiUrl(String apiUrl)
public String getChatId()
public void setChatId(String chatId)
public String getAuthToken()
public void setAuthToken(String authToken)
public boolean isDisableNotify()
public void setDisableNotify(boolean disableNotify)
public String getParse_mode()
public void setParse_mode(String parse_mode)
public void setMessage(String message)
Copyright © 2018 codecentric AG. All rights reserved.