Interface SchedTaskJobDelegate
- All Known Subinterfaces:
StoppableSchedTaskJobDelegate
- All Known Implementing Classes:
AbstractProvisioningJobDelegate,AbstractSchedTaskJobDelegate,ElasticsearchReindex,ExpiredAccessTokenCleanup,ExpiredBatchCleanup,GroupMemberProvisionTaskJobDelegate,LiveSyncJobDelegate,MacroJobDelegate,OpenFGAReinit,OpenSearchReindex,PullJobDelegate,PushJobDelegate,SinglePullJobDelegate,SinglePushJobDelegate,StreamPullJobDelegate,StreamPushJobDelegate,TestSampleJobDelegate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(TaskType taskType, String taskKey, JobExecutionContext context) Executes a Job to run the given Task.
-
Method Details
-
execute
void execute(TaskType taskType, String taskKey, JobExecutionContext context) throws JobExecutionException Executes a Job to run the given Task.- Parameters:
taskType- Type of task to runtaskKey- Task key to runcontext- execution context, can be used to pass parameters to the job- Throws:
JobExecutionException- if anything goes wrong
-