public abstract class EventDefinitionDto extends Object implements EventDefinition, ContentPackable<EventDefinitionEntity>
| Modifier and Type | Class and Description |
|---|---|
static class |
EventDefinitionDto.Builder |
| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_DESCRIPTION |
static String |
FIELD_ID |
static String |
FIELD_NOTIFICATIONS |
static String |
FIELD_TITLE |
| Constructor and Description |
|---|
EventDefinitionDto() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
alert() |
static EventDefinitionDto.Builder |
builder() |
abstract EventProcessorConfig |
config() |
abstract String |
description() |
abstract com.google.common.collect.ImmutableMap<String,EventFieldSpec> |
fieldSpec() |
abstract String |
id() |
abstract com.google.common.collect.ImmutableList<String> |
keySpec() |
abstract com.google.common.collect.ImmutableList<EventNotificationHandler.Config> |
notifications() |
abstract EventNotificationSettings |
notificationSettings() |
abstract int |
priority() |
void |
resolveNativeEntity(EntityDescriptor entityDescriptor,
com.google.common.graph.MutableGraph<EntityDescriptor> mutableGraph) |
abstract com.google.common.collect.ImmutableList<EventStorageHandler.Config> |
storage() |
abstract String |
title() |
abstract EventDefinitionDto.Builder |
toBuilder() |
EventDefinitionEntity |
toContentPackEntity(EntityDescriptorIds entityDescriptorIds) |
ValidationResult |
validate() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrequiredPermissionsgetContentPackPluginPackagepublic static final String FIELD_ID
public static final String FIELD_TITLE
public static final String FIELD_DESCRIPTION
public static final String FIELD_NOTIFICATIONS
@Nullable public abstract String id()
id in interface EventDefinitionpublic abstract String title()
title in interface EventDefinitionpublic abstract String description()
description in interface EventDefinitionpublic abstract int priority()
priority in interface EventDefinitionpublic abstract boolean alert()
alert in interface EventDefinitionpublic abstract EventProcessorConfig config()
config in interface EventDefinitionpublic abstract com.google.common.collect.ImmutableMap<String,EventFieldSpec> fieldSpec()
fieldSpec in interface EventDefinitionpublic abstract com.google.common.collect.ImmutableList<String> keySpec()
keySpec in interface EventDefinitionpublic abstract EventNotificationSettings notificationSettings()
notificationSettings in interface EventDefinitionpublic abstract com.google.common.collect.ImmutableList<EventNotificationHandler.Config> notifications()
notifications in interface EventDefinitionpublic abstract com.google.common.collect.ImmutableList<EventStorageHandler.Config> storage()
storage in interface EventDefinitionpublic static EventDefinitionDto.Builder builder()
public abstract EventDefinitionDto.Builder toBuilder()
public ValidationResult validate()
public EventDefinitionEntity toContentPackEntity(EntityDescriptorIds entityDescriptorIds)
toContentPackEntity in interface ContentPackable<EventDefinitionEntity>public void resolveNativeEntity(EntityDescriptor entityDescriptor, com.google.common.graph.MutableGraph<EntityDescriptor> mutableGraph)
resolveNativeEntity in interface ContentPackable<EventDefinitionEntity>Copyright © 2012–2021 Graylog, Inc.. All rights reserved.