org.camunda.bpm.engine.impl.jobexecutor
Interface JobHandler<T extends JobHandlerConfiguration>
- All Known Subinterfaces:
- BatchJobHandler<T>
- All Known Implementing Classes:
- AsyncContinuationJobHandler, BatchMonitorJobHandler, BatchSeedJobHandler, MigrationBatchJobHandler, ProcessEventJobHandler, TimerActivateJobDefinitionHandler, TimerActivateProcessDefinitionHandler, TimerCatchIntermediateEventJobHandler, TimerChangeJobDefinitionSuspensionStateJobHandler, TimerChangeProcessDefinitionSuspensionStateJobHandler, TimerEventJobHandler, TimerExecuteNestedActivityJobHandler, TimerStartEventJobHandler, TimerStartEventSubprocessJobHandler, TimerSuspendJobDefinitionHandler, TimerSuspendProcessDefinitionHandler
public interface JobHandler<T extends JobHandlerConfiguration>
- Author:
- Tom Baeyens
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 configurationjobEntity - the job entity to be deleted
Copyright © 2016 camunda services GmbH. All rights reserved.