Class SlackEventNotificationConfig
java.lang.Object
org.graylog.integrations.notifications.types.SlackEventNotificationConfig
- All Implemented Interfaces:
EventNotificationConfig
,ContentPackable<EventNotificationConfigEntity>
public abstract class SlackEventNotificationConfig
extends Object
implements EventNotificationConfig
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.graylog.events.notifications.EventNotificationConfig
EventNotificationConfig.FallbackNotificationConfig
-
Field Summary
FieldsFields inherited from interface org.graylog.events.notifications.EventNotificationConfig
FIELD_NOTIFICATION_ID, TYPE_FIELD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract long
builder()
abstract @NotBlank String
channel()
abstract @NotBlank String
color()
abstract String
abstract String
abstract String
iconUrl()
abstract Boolean
abstract boolean
abstract boolean
abstract Boolean
abstract org.joda.time.DateTimeZone
timeZone()
toContentPackEntity
(EntityDescriptorIds entityDescriptorIds) toJobTriggerData
(EventDto dto) abstract String
userName()
validate()
abstract @NotBlank String
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.graylog2.contentpacks.ContentPackable
getContentPackPluginPackage, resolveNativeEntity
Methods inherited from interface org.graylog.events.notifications.EventNotificationConfig
prepareConfigUpdate, type
-
Field Details
-
TYPE_NAME
- See Also:
-
-
Constructor Details
-
SlackEventNotificationConfig
public SlackEventNotificationConfig()
-
-
Method Details
-
backlogSize
public abstract long backlogSize() -
color
-
webhookUrl
-
channel
-
customMessage
-
userName
-
notifyChannel
public abstract boolean notifyChannel() -
linkNames
public abstract boolean linkNames() -
iconUrl
-
iconEmoji
-
timeZone
public abstract org.joda.time.DateTimeZone timeZone() -
includeTitle
-
notifyHere
-
toJobTriggerData
- Specified by:
toJobTriggerData
in interfaceEventNotificationConfig
-
builder
-
validate
- Specified by:
validate
in interfaceEventNotificationConfig
-
toContentPackEntity
- Specified by:
toContentPackEntity
in interfaceContentPackable<EventNotificationConfigEntity>
-