Class DeleteHistoricProcessInstancesJobHandler
java.lang.Object
org.camunda.bpm.engine.impl.batch.AbstractBatchJobHandler<BatchConfiguration>
org.camunda.bpm.engine.impl.batch.deletion.DeleteHistoricProcessInstancesJobHandler
- All Implemented Interfaces:
BatchJobHandler<BatchConfiguration>,OptimisticLockingListener,JobHandler<BatchJobConfiguration>
public class DeleteHistoricProcessInstancesJobHandler
extends AbstractBatchJobHandler<BatchConfiguration>
- Author:
- Askar Akhmerov
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BatchConfigurationcreateJobConfiguration(BatchConfiguration configuration, List<String> processIdsForJob) voidexecuteHandler(BatchConfiguration batchConfiguration, ExecutionEntity execution, CommandContext commandContext, String tenantId) Get the job declaration for batch jobs.getType()Methods inherited from class org.camunda.bpm.engine.impl.batch.AbstractBatchJobHandler
calculateInvocationsPerBatchJob, createBatchJob, createJobEntities, createJobs, deleteJobs, execute, failedOperation, getEntityType, newConfiguration, onDelete, postProcessJob, readConfiguration, sanitizeMappings, saveConfiguration, writeConfiguration
-
Field Details
-
JOB_DECLARATION
-
-
Constructor Details
-
DeleteHistoricProcessInstancesJobHandler
public DeleteHistoricProcessInstancesJobHandler()
-
-
Method Details
-
getType
-
getJsonConverterInstance
- Specified by:
getJsonConverterInstancein classAbstractBatchJobHandler<BatchConfiguration>
-
getJobDeclaration
Description copied from interface:BatchJobHandlerGet the job declaration for batch jobs.- Specified by:
getJobDeclarationin interfaceBatchJobHandler<BatchConfiguration>- Specified by:
getJobDeclarationin classAbstractBatchJobHandler<BatchConfiguration>- Returns:
- the batch job declaration
-
createJobConfiguration
protected BatchConfiguration createJobConfiguration(BatchConfiguration configuration, List<String> processIdsForJob) - Specified by:
createJobConfigurationin classAbstractBatchJobHandler<BatchConfiguration>
-
executeHandler
public void executeHandler(BatchConfiguration batchConfiguration, ExecutionEntity execution, CommandContext commandContext, String tenantId) - Specified by:
executeHandlerin classAbstractBatchJobHandler<BatchConfiguration>
-