Class HTTPEventNotificationConfigV2
java.lang.Object
org.graylog.events.notifications.types.HTTPEventNotificationConfigV2
- All Implemented Interfaces:
EventNotificationConfig,ContentPackable<EventNotificationConfigEntity>
public abstract class HTTPEventNotificationConfigV2
extends Object
implements EventNotificationConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumstatic enumNested classes/interfaces inherited from interface org.graylog.events.notifications.EventNotificationConfig
EventNotificationConfig.FallbackNotificationConfig -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.graylog.events.notifications.EventNotificationConfig
FIELD_NOTIFICATION_ID, TYPE_FIELD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringapiKey()abstract booleanabstract EncryptedValueabstract EncryptedValueabstract Stringbuilder()abstract Stringheaders()prepareConfigUpdate(EventNotificationConfig newConfig) abstract booleanabstract org.joda.time.DateTimeZonetimeZone()toContentPackEntity(EntityDescriptorIds entityDescriptorIds) toJobTriggerData(EventDto dto) abstract Stringurl()validate()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graylog2.contentpacks.ContentPackable
getContentPackPluginPackage, resolveNativeEntityMethods inherited from interface org.graylog.events.notifications.EventNotificationConfig
type
-
Field Details
-
TYPE_NAME
- See Also:
-
FIELD_URL
- See Also:
-
FIELD_METHOD
- See Also:
-
FIELD_TIME_ZONE
- See Also:
-
FIELD_CONTENT_TYPE
- See Also:
-
FIELD_HEADERS
- See Also:
-
FIELD_BODY_TEMPLATE
- See Also:
-
FIELD_SKIP_TLS_VERIFICATION
- See Also:
-
-
Constructor Details
-
HTTPEventNotificationConfigV2
public HTTPEventNotificationConfigV2()
-
-
Method Details
-
basicAuth
-
apiKeyAsHeader
public abstract boolean apiKeyAsHeader() -
apiKey
-
apiSecret
-
url
-
skipTLSVerification
public abstract boolean skipTLSVerification() -
httpMethod
-
timeZone
public abstract org.joda.time.DateTimeZone timeZone() -
contentType
-
headers
-
bodyTemplate
-
toJobTriggerData
- Specified by:
toJobTriggerDatain interfaceEventNotificationConfig
-
builder
-
toBuilder
-
validate
- Specified by:
validatein interfaceEventNotificationConfig
-
prepareConfigUpdate
- Specified by:
prepareConfigUpdatein interfaceEventNotificationConfig
-
toContentPackEntity
- Specified by:
toContentPackEntityin interfaceContentPackable<EventNotificationConfigEntity>
-