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>,- JobHandler<BatchJobConfiguration>
 
 public class DeleteHistoricProcessInstancesJobHandler extends AbstractBatchJobHandler<BatchConfiguration> - Author:
- Askar Akhmerov
 
- 
- 
Field SummaryFields Modifier and Type Field Description static BatchJobDeclarationJOB_DECLARATION
 - 
Constructor SummaryConstructors Constructor Description DeleteHistoricProcessInstancesJobHandler()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BatchConfigurationcreateJobConfiguration(BatchConfiguration configuration, java.util.List<java.lang.String> processIdsForJob)voidexecute(BatchJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, java.lang.String tenantId)JobDeclaration<BatchJobContext,MessageEntity>getJobDeclaration()Get the job declaration for batch jobs.protected DeleteHistoricProcessInstanceBatchConfigurationJsonConvertergetJsonConverterInstance()java.lang.StringgetType()- 
Methods inherited from class org.camunda.bpm.engine.impl.batch.AbstractBatchJobHandlercreateBatchJob, createJobEntities, createJobs, deleteJobs, newConfiguration, onDelete, postProcessJob, readConfiguration, sanitizeMappings, saveConfiguration, writeConfiguration
 
- 
 
- 
- 
- 
Field Detail- 
JOB_DECLARATIONpublic static final BatchJobDeclaration JOB_DECLARATION 
 
- 
 - 
Method Detail- 
getTypepublic java.lang.String getType() 
 - 
getJsonConverterInstanceprotected DeleteHistoricProcessInstanceBatchConfigurationJsonConverter getJsonConverterInstance() - Specified by:
- getJsonConverterInstancein class- AbstractBatchJobHandler<BatchConfiguration>
 
 - 
getJobDeclarationpublic JobDeclaration<BatchJobContext,MessageEntity> getJobDeclaration() Description copied from interface:BatchJobHandlerGet the job declaration for batch jobs.- Specified by:
- getJobDeclarationin interface- BatchJobHandler<BatchConfiguration>
- Specified by:
- getJobDeclarationin class- AbstractBatchJobHandler<BatchConfiguration>
- Returns:
- the batch job declaration
 
 - 
createJobConfigurationprotected BatchConfiguration createJobConfiguration(BatchConfiguration configuration, java.util.List<java.lang.String> processIdsForJob) - Specified by:
- createJobConfigurationin class- AbstractBatchJobHandler<BatchConfiguration>
 
 - 
executepublic void execute(BatchJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, java.lang.String tenantId) 
 
- 
 
-