Package org.graylog.scheduler.rest
Interface JobResourceHandler
public interface JobResourceHandler
Pluggable interface for common job scheduler resource tasks.
Implementations are responsible on checking the permissions of the
UserContext
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
acknowledgeJob
(UserContext userContext, String jobId) default Optional<JobTriggerDto>
cancelJob
(UserContext userContext, String jobId) default Optional<JobTriggerDto>
getJob
(UserContext userContext, String jobID) default JobTriggerDetails
getTriggerDetails
(JobTriggerDto triggerDto) default List<JobTriggerDto>
listAllJobs
(UserContext userContext)
-
Method Details
-
listAllJobs
-
getJob
-
cancelJob
-
acknowledgeJob
-
getTriggerDetails
-