public abstract class AbstractSlackCompatibleNotificationStrategy extends Object implements NotificationStrategy
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
AbstractSlackCompatibleNotificationStrategy() |
public AbstractSlackCompatibleNotificationStrategy()
protected abstract String getChannelPropertyName()
protected abstract String getIconEmojiPropertyName()
protected abstract String getIconUrlPropertyName()
protected abstract String getUsernamePropertyName()
protected abstract String getUrlPropertyName()
protected abstract String getUseSystemProxyPropertyName()
protected abstract String formatWebhookErrorResponse(int statusCode, String contents)
public int send(List<Argument> arguments)
send
send
in interface NotificationStrategy
arguments
- a List
object.protected String getUrl()
protected String getUsername()
protected String getIconUrl()
protected boolean getUseSystemProxy()
protected String getIconEmoji()
protected String getChannel()
protected String getValueFromSwitchOrProp(String what, String switchName, String propName)
Copyright © 2021. All rights reserved.