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 TypeMethodDescriptionvoidexecute(T configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId) getType()newConfiguration(String canonicalString) voidClean 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
-