Interface JobHandler<T extends JobHandlerConfiguration>
- All Known Subinterfaces:
BatchJobHandler<T>
- All Known Implementing Classes:
AbstractBatchJobHandler
,AsyncContinuationJobHandler
,BatchMonitorJobHandler
,BatchSeedJobHandler
,BatchSetRemovalTimeJobHandler
,BatchSetVariablesHandler
,DecisionSetRemovalTimeJobHandler
,DeleteHistoricDecisionInstancesJobHandler
,DeleteHistoricProcessInstancesJobHandler
,DeleteProcessInstancesJobHandler
,HistoryCleanupJobHandler
,MessageCorrelationBatchJobHandler
,MigrationBatchJobHandler
,ModificationBatchJobHandler
,ProcessEventJobHandler
,ProcessSetRemovalTimeJobHandler
,RestartProcessInstancesJobHandler
,SetExternalTaskRetriesJobHandler
,SetJobRetriesJobHandler
,TimerActivateJobDefinitionHandler
,TimerActivateProcessDefinitionHandler
,TimerCatchIntermediateEventJobHandler
,TimerChangeJobDefinitionSuspensionStateJobHandler
,TimerChangeProcessDefinitionSuspensionStateJobHandler
,TimerEventJobHandler
,TimerExecuteNestedActivityJobHandler
,TimerStartEventJobHandler
,TimerStartEventSubprocessJobHandler
,TimerSuspendJobDefinitionHandler
,TimerSuspendProcessDefinitionHandler
,TimerTaskListenerJobHandler
,UpdateProcessInstancesSuspendStateJobHandler
public interface JobHandler<T extends JobHandlerConfiguration>
- Author:
- Tom Baeyens
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(T configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId) getType()
newConfiguration
(String canonicalString) void
Clean up before job is deleted.
-
Method Details
-
getType
String getType() -
execute
void execute(T configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId) -
newConfiguration
-
onDelete
Clean up before job is deleted. Like removing of auxiliary entities specific for this job handler.- Parameters:
configuration
- the job handler configurationjobEntity
- the job entity to be deleted
-