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 Details

    • getType

      String getType()
    • execute

      void execute(T configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId)
    • newConfiguration

      T newConfiguration(String canonicalString)
    • onDelete

      void onDelete(T configuration, JobEntity jobEntity)
      Clean up before job is deleted. Like removing of auxiliary entities specific for this job handler.
      Parameters:
      configuration - the job handler configuration
      jobEntity - the job entity to be deleted