Package org.togglz.slack.config
Class NotificationConfigurationBuilder
java.lang.Object
org.togglz.slack.config.NotificationConfigurationBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withAppIcon(String appIcon) withAppName(String appName) withChangeVerbs(String enabled, String disabled) withChannels(String... channels) withMessageFormat(String messageFormat) withSlackHookUrl(String slackHookUrl) withStatesIcons(String enabled, String disabled) withTogglzAdminConsoleUrl(String togglzAdminConsoleUrl)
-
Constructor Details
-
NotificationConfigurationBuilder
public NotificationConfigurationBuilder()
-
-
Method Details
-
withSlackHookUrl
-
withChannels
-
withTogglzAdminConsoleUrl
-
withAppName
-
withMessageFormat
- Parameters:
messageFormat- custom replacement for default org.togglz.slack.notification.NotificationComposer.DEFAULT_MESSAGE_FORMAT
-
withAppIcon
- Parameters:
appIcon- name, eg. robot_face
-
withStatesIcons
- Parameters:
enabled- icon name, eg. green_appledisabled- icon name, eg. apple
-
withChangeVerbs
- Parameters:
enabled- verb eg. activateddisabled- verb eg. deactivated
-
disableAsyncSender
-
enableLabeling
-
build
-