public abstract static class EventDefinitionContextService.SchedulerCtx extends Object
| Constructor and Description |
|---|
SchedulerCtx() |
| Modifier and Type | Method and Description |
|---|---|
abstract Optional<JobTriggerData> |
data() |
abstract boolean |
isScheduled() |
abstract Optional<org.joda.time.DateTime> |
nextTime() |
static EventDefinitionContextService.SchedulerCtx |
scheduled(JobTriggerDto trigger) |
abstract Optional<JobTriggerStatus> |
status() |
abstract Optional<org.joda.time.DateTime> |
triggeredAt() |
static EventDefinitionContextService.SchedulerCtx |
unscheduled() |
public abstract boolean isScheduled()
public abstract Optional<JobTriggerStatus> status()
public abstract Optional<org.joda.time.DateTime> nextTime()
public abstract Optional<org.joda.time.DateTime> triggeredAt()
public abstract Optional<JobTriggerData> data()
public static EventDefinitionContextService.SchedulerCtx unscheduled()
public static EventDefinitionContextService.SchedulerCtx scheduled(JobTriggerDto trigger)
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.