public interface EventProcessorConfig extends ContentPackable<EventProcessorConfigEntity>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
EventProcessorConfig.Builder<SELF> |
static class |
EventProcessorConfig.FallbackConfig |
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE_FIELD |
| Modifier and Type | Method and Description |
|---|---|
default Set<String> |
requiredPermissions()
Returns the permissions that are required to create the event processor configuration.
|
default Optional<EventProcessorSchedulerConfig> |
toJobSchedulerConfig(EventDefinition eventDefinition,
JobSchedulerClock clock)
Returns a
JobDefinitionConfig for this event processor configuration. |
String |
type() |
ValidationResult |
validate()
Validates the event processor configuration.
|
getContentPackPluginPackage, resolveNativeEntity, toContentPackEntitystatic final String TYPE_FIELD
String type()
default Optional<EventProcessorSchedulerConfig> toJobSchedulerConfig(EventDefinition eventDefinition, JobSchedulerClock clock)
JobDefinitionConfig for this event processor configuration. If the event processor shouldn't
be scheduled, this method returns an empty Optional.eventDefinition - the event definitionclock - the clock that can be used to get the current timeValidationResult validate()
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.