org.camunda.bpm.engine.impl.batch.deletion
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JOB_DECLARATION
public static final BatchJobDeclaration JOB_DECLARATION
DeleteHistoricProcessInstancesJobHandler
public DeleteHistoricProcessInstancesJobHandler()
getType
public String getType()
getJsonConverterInstance
protected DeleteHistoricProcessInstanceBatchConfigurationJsonConverter getJsonConverterInstance()
- Specified by:
getJsonConverterInstance in class AbstractBatchJobHandler<BatchConfiguration>
getJobDeclaration
public JobDeclaration<BatchJobContext,MessageEntity> getJobDeclaration()
- Description copied from interface:
BatchJobHandler
- Get the job declaration for batch jobs.
- Specified by:
getJobDeclaration in interface BatchJobHandler<BatchConfiguration>- Specified by:
getJobDeclaration in class AbstractBatchJobHandler<BatchConfiguration>
- Returns:
- the batch job declaration
createJobConfiguration
protected BatchConfiguration createJobConfiguration(BatchConfiguration configuration,
List<String> processIdsForJob)
- Specified by:
createJobConfiguration in class AbstractBatchJobHandler<BatchConfiguration>
execute
public void execute(BatchJobConfiguration configuration,
ExecutionEntity execution,
CommandContext commandContext,
String tenantId)
Copyright © 2017 camunda services GmbH. All rights reserved.