public class EventDefinitionContextService extends Object
event definitions like
scheduler information. This allows us to return additional information for event definitions without modifying
their DTOs.| Modifier and Type | Class and Description |
|---|---|
static class |
EventDefinitionContextService.SchedulerCtx |
| Constructor and Description |
|---|
EventDefinitionContextService(DBJobDefinitionService jobDefinitionService,
DBJobTriggerService jobTriggerService) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableMap<String,Object> |
contextFor(EventDefinitionDto eventDefinition) |
com.google.common.collect.ImmutableMap<String,Object> |
contextFor(List<EventDefinitionDto> eventDefinitions) |
@Inject public EventDefinitionContextService(DBJobDefinitionService jobDefinitionService, DBJobTriggerService jobTriggerService)
public com.google.common.collect.ImmutableMap<String,Object> contextFor(List<EventDefinitionDto> eventDefinitions)
public com.google.common.collect.ImmutableMap<String,Object> contextFor(EventDefinitionDto eventDefinition)
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.