Uses of Class
org.graylog.scheduler.JobTriggerDto
Packages that use JobTriggerDto
Package
Description
-
Uses of JobTriggerDto in org.graylog.events.context
Methods in org.graylog.events.context with parameters of type JobTriggerDtoModifier and TypeMethodDescriptionEventDefinitionContextService.SchedulerCtx.scheduled(JobTriggerDto trigger, long queuedNotifications) -
Uses of JobTriggerDto in org.graylog.events.notifications
Methods in org.graylog.events.notifications that return types with arguments of type JobTriggerDtoModifier and TypeMethodDescriptionabstract Optional<JobTriggerDto>EventNotificationContext.jobTrigger()Methods in org.graylog.events.notifications with parameters of type JobTriggerDtoModifier and TypeMethodDescriptionabstract EventNotificationContext.BuilderEventNotificationContext.Builder.jobTrigger(JobTriggerDto jobTrigger) -
Uses of JobTriggerDto in org.graylog.scheduler
Methods in org.graylog.scheduler that return JobTriggerDtoModifier and TypeMethodDescriptionabstract JobTriggerDtoJobTriggerDto.Builder.build()DBJobTriggerService.create(JobTriggerDto trigger) Creates a new record in the database.DBJobTriggerService.getOrCreate(JobTriggerDto trigger) Creates the givenJobTriggerDtoas new entry or returns an existing one.JobExecutionException.getTrigger()Returns the trigger that triggered the job execution.abstract JobTriggerDtoJobExecutionContext.trigger()Methods in org.graylog.scheduler that return types with arguments of type JobTriggerDtoModifier and TypeMethodDescriptionDBJobTriggerService.all()Loads all existing records and returns them.DBJobTriggerService.cancelTriggerByQuery(org.bson.conversions.Bson query) Cancel a JobTrigger that matches a query.DBJobTriggerService.cancelTriggerByQuery(org.mongojack.DBQuery.Query query) Deprecated.DBJobTriggerService.findByQuery(org.bson.conversions.Bson query) Find triggers by using the provided query.DBJobTriggerService.findByQuery(org.mongojack.DBQuery.Query query) Deprecated.Loads the record for the given ID.DBJobTriggerService.getAllForJob(String jobDefinitionId) DBJobTriggerService.getForJobs(Collection<String> jobDefinitionIds) Returns all job triggers for the given job definition IDs, grouped by job definition ID.DBJobTriggerService.getOneForJob(String jobDefinitionId) Returns one trigger for the given job definition ID.DBJobTriggerService.nextRunnableTrigger()Locks and returns the next runnable trigger.Methods in org.graylog.scheduler with parameters of type JobTriggerDtoModifier and TypeMethodDescriptionDBJobTriggerService.create(JobTriggerDto trigger) Creates a new record in the database.static JobExecutionContextJobExecutionContext.create(JobTriggerDto trigger, JobDefinitionDto definition, JobTriggerUpdates jobTriggerUpdates, AtomicBoolean schedulerIsRunning, DBJobTriggerService jobTriggerService) JobTriggerUpdates.Factory.create(JobTriggerDto trigger) DBJobTriggerService.getOrCreate(JobTriggerDto trigger) Creates the givenJobTriggerDtoas new entry or returns an existing one.Optional<org.joda.time.DateTime>JobScheduleStrategies.nextFutureTime(JobTriggerDto trigger) Calculates the next time in the future.Optional<org.joda.time.DateTime>JobScheduleStrategies.nextTime(JobTriggerDto trigger) Calculates the next execution time.Optional<org.joda.time.DateTime>JobScheduleStrategies.nextTime(JobTriggerDto trigger, org.joda.time.DateTime date) Calculates the next execution time for a trigger after a given date.booleanDBJobTriggerService.releaseTrigger(JobTriggerDto trigger, JobTriggerUpdate triggerUpdate) Releases a locked trigger.booleanDBJobTriggerService.setTriggerError(JobTriggerDto trigger) Mark the given trigger as defective to make sure it will not be scheduled anymore.abstract JobExecutionContext.BuilderJobExecutionContext.Builder.trigger(JobTriggerDto trigger) booleanDBJobTriggerService.update(JobTriggerDto trigger) Updates the given trigger record in the database.intDBJobTriggerService.updateProgress(JobTriggerDto trigger, int progress) Update the job progress on a trigger.static JobTriggerUpdateJobTriggerUpdate.withError(JobTriggerDto trigger) Constructors in org.graylog.scheduler with parameters of type JobTriggerDtoModifierConstructorDescriptionJobExecutionException(String message, JobTriggerDto trigger, JobTriggerUpdate update) JobExecutionException(String message, JobTriggerDto trigger, JobTriggerUpdate update, Throwable cause) JobTriggerUpdates(JobSchedulerClock clock, JobScheduleStrategies scheduleStrategies, JobTriggerDto trigger) -
Uses of JobTriggerDto in org.graylog.scheduler.rest
Methods in org.graylog.scheduler.rest that return types with arguments of type JobTriggerDtoModifier and TypeMethodDescriptiondefault Optional<JobTriggerDto>JobResourceHandler.cancelJob(UserContext userContext, String jobId) JobResourceHandlerService.cancelJob(UserContext userContext, String jobId) default Optional<JobTriggerDto>JobResourceHandler.getJob(UserContext userContext, String jobID) JobResourceHandlerService.getJob(UserContext userContext, String jobId) default List<JobTriggerDto>JobResourceHandler.listAllJobs(UserContext userContext) JobResourceHandlerService.listJobs(UserContext userContext) Methods in org.graylog.scheduler.rest with parameters of type JobTriggerDtoModifier and TypeMethodDescriptiondefault JobTriggerDetailsJobResourceHandler.getTriggerDetails(JobTriggerDto triggerDto) JobResourceHandlerService.jobSummaryFromTrigger(JobTriggerDto trigger)