public final class NotificationConfigurationBuilder extends Object
| Constructor and Description |
|---|
NotificationConfigurationBuilder() |
| Modifier and Type | Method and Description |
|---|---|
NotificationConfiguration |
build() |
NotificationConfigurationBuilder |
disableAsyncSender() |
NotificationConfigurationBuilder |
enableLabeling() |
NotificationConfigurationBuilder |
withAppIcon(String appIcon) |
NotificationConfigurationBuilder |
withAppName(String appName) |
NotificationConfigurationBuilder |
withChangeVerbs(String enabled,
String disabled) |
NotificationConfigurationBuilder |
withChannels(String... channels) |
NotificationConfigurationBuilder |
withMessageFormat(String messageFormat) |
NotificationConfigurationBuilder |
withSlackHookUrl(String slackHookUrl) |
NotificationConfigurationBuilder |
withStatesIcons(String enabled,
String disabled) |
NotificationConfigurationBuilder |
withTogglzAdminConsoleUrl(String togglzAdminConsoleUrl) |
public NotificationConfigurationBuilder withSlackHookUrl(String slackHookUrl)
public NotificationConfigurationBuilder withChannels(String... channels)
public NotificationConfigurationBuilder withTogglzAdminConsoleUrl(String togglzAdminConsoleUrl)
public NotificationConfigurationBuilder withAppName(String appName)
public NotificationConfigurationBuilder withMessageFormat(String messageFormat)
messageFormat - custom replacement for default org.togglz.slack.notification.NotificationComposer.DEFAULT_MESSAGE_FORMATpublic NotificationConfigurationBuilder withAppIcon(String appIcon)
appIcon - name, eg. robot_facepublic NotificationConfigurationBuilder withStatesIcons(String enabled, String disabled)
enabled - icon name, eg. green_appledisabled - icon name, eg. applepublic NotificationConfigurationBuilder withChangeVerbs(String enabled, String disabled)
enabled - verb eg. activateddisabled - verb eg. deactivatedpublic NotificationConfigurationBuilder disableAsyncSender()
public NotificationConfigurationBuilder enableLabeling()
public NotificationConfiguration build()
Copyright © 2021. All rights reserved.