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 Modifier and Type Field Description static BatchJobDeclaration
JOB_DECLARATION
-
Constructor Summary
Constructors Constructor Description DeleteHistoricProcessInstancesJobHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BatchConfiguration
createJobConfiguration(BatchConfiguration configuration, java.util.List<java.lang.String> processIdsForJob)
void
executeHandler(BatchConfiguration batchConfiguration, ExecutionEntity execution, CommandContext commandContext, java.lang.String tenantId)
JobDeclaration<BatchJobContext,MessageEntity>
getJobDeclaration()
Get the job declaration for batch jobs.protected DeleteHistoricProcessInstanceBatchConfigurationJsonConverter
getJsonConverterInstance()
java.lang.String
getType()
-
Methods inherited from class org.camunda.bpm.engine.impl.batch.AbstractBatchJobHandler
createBatchJob, createJobEntities, createJobs, deleteJobs, execute, failedOperation, getEntityType, newConfiguration, onDelete, postProcessJob, readConfiguration, sanitizeMappings, saveConfiguration, writeConfiguration
-
-
-
-
Field Detail
-
JOB_DECLARATION
public static final BatchJobDeclaration JOB_DECLARATION
-
-
Method Detail
-
getType
public java.lang.String getType()
-
getJsonConverterInstance
protected DeleteHistoricProcessInstanceBatchConfigurationJsonConverter getJsonConverterInstance()
- Specified by:
getJsonConverterInstance
in classAbstractBatchJobHandler<BatchConfiguration>
-
getJobDeclaration
public JobDeclaration<BatchJobContext,MessageEntity> getJobDeclaration()
Description copied from interface:BatchJobHandler
Get the job declaration for batch jobs.- Specified by:
getJobDeclaration
in interfaceBatchJobHandler<BatchConfiguration>
- Specified by:
getJobDeclaration
in classAbstractBatchJobHandler<BatchConfiguration>
- Returns:
- the batch job declaration
-
createJobConfiguration
protected BatchConfiguration createJobConfiguration(BatchConfiguration configuration, java.util.List<java.lang.String> processIdsForJob)
- Specified by:
createJobConfiguration
in classAbstractBatchJobHandler<BatchConfiguration>
-
executeHandler
public void executeHandler(BatchConfiguration batchConfiguration, ExecutionEntity execution, CommandContext commandContext, java.lang.String tenantId)
- Specified by:
executeHandler
in classAbstractBatchJobHandler<BatchConfiguration>
-
-