Package org.graylog.events.processor
Class EventDefinitionDto
java.lang.Object
org.graylog2.database.entities.ScopedEntity
org.graylog.events.processor.EventDefinitionDto
- All Implemented Interfaces:
EventDefinition,ContentPackable<EventDefinitionEntity>
public abstract class EventDefinitionDto
extends ScopedEntity
implements EventDefinition, ContentPackable<EventDefinitionEntity>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.graylog2.database.entities.ScopedEntity
ScopedEntity.AbstractBuilder<SELF extends ScopedEntity.AbstractBuilder<SELF>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.graylog2.database.entities.ScopedEntity
FIELD_ID, FIELD_SCOPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanalert()static EventDefinitionDto.Builderbuilder()abstract EventProcessorConfigconfig()abstract Stringabstract com.google.common.collect.ImmutableMap<String,EventFieldSpec> abstract Stringid()abstract com.google.common.collect.ImmutableList<String>keySpec()abstract com.google.common.collect.ImmutableList<EventNotificationHandler.Config>abstract EventNotificationSettingsabstract intpriority()voidresolveNativeEntity(EntityDescriptor entityDescriptor, com.google.common.graph.MutableGraph<EntityDescriptor> mutableGraph) abstract com.google.common.collect.ImmutableList<EventStorageHandler.Config>storage()abstract Stringtitle()abstract EventDefinitionDto.BuildertoContentPackEntity(EntityDescriptorIds entityDescriptorIds) abstract org.joda.time.DateTimevalidate()Methods inherited from class org.graylog2.database.entities.ScopedEntity
scopeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graylog2.contentpacks.ContentPackable
getContentPackPluginPackageMethods inherited from interface org.graylog.events.processor.EventDefinition
requiredPermissions
-
Field Details
-
FIELD_TITLE
- See Also:
-
FIELD_DESCRIPTION
- See Also:
-
FIELD_NOTIFICATIONS
- See Also:
-
FIELD_CONFIG
- See Also:
-
-
Constructor Details
-
EventDefinitionDto
public EventDefinitionDto()
-
-
Method Details
-
id
- Specified by:
idin interfaceEventDefinition- Specified by:
idin classScopedEntity
-
title
- Specified by:
titlein interfaceEventDefinition
-
description
- Specified by:
descriptionin interfaceEventDefinition
-
updatedAt
@Nullable public abstract org.joda.time.DateTime updatedAt()- Specified by:
updatedAtin interfaceEventDefinition
-
priority
public abstract int priority()- Specified by:
priorityin interfaceEventDefinition
-
alert
public abstract boolean alert()- Specified by:
alertin interfaceEventDefinition
-
config
- Specified by:
configin interfaceEventDefinition
-
fieldSpec
- Specified by:
fieldSpecin interfaceEventDefinition
-
keySpec
- Specified by:
keySpecin interfaceEventDefinition
-
notificationSettings
- Specified by:
notificationSettingsin interfaceEventDefinition
-
notifications
public abstract com.google.common.collect.ImmutableList<EventNotificationHandler.Config> notifications()- Specified by:
notificationsin interfaceEventDefinition
-
storage
- Specified by:
storagein interfaceEventDefinition
-
schedulerCtx
- Specified by:
schedulerCtxin interfaceEventDefinition
-
builder
-
toBuilder
-
validate
-
toContentPackEntity
- Specified by:
toContentPackEntityin interfaceContentPackable<EventDefinitionEntity>
-
resolveNativeEntity
public void resolveNativeEntity(EntityDescriptor entityDescriptor, com.google.common.graph.MutableGraph<EntityDescriptor> mutableGraph) - Specified by:
resolveNativeEntityin interfaceContentPackable<EventDefinitionEntity>
-