org.camunda.bpm.engine.impl.batch.deletion
Class DeleteHistoricProcessInstancesJobHandler

java.lang.Object
  extended by org.camunda.bpm.engine.impl.batch.AbstractBatchJobHandler<BatchConfiguration>
      extended by 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 Summary
static BatchJobDeclaration JOB_DECLARATION
           
 
Constructor Summary
DeleteHistoricProcessInstancesJobHandler()
           
 
Method Summary
protected  BatchConfiguration createJobConfiguration(BatchConfiguration configuration, List<String> processIdsForJob)
           
 void execute(BatchJobConfiguration configuration, ExecutionEntity execution, CommandContext commandContext, String tenantId)
           
 JobDeclaration<BatchJobContext,MessageEntity> getJobDeclaration()
          Get the job declaration for batch jobs.
protected  DeleteHistoricProcessInstanceBatchConfigurationJsonConverter getJsonConverterInstance()
           
 String getType()
           
 
Methods inherited from class org.camunda.bpm.engine.impl.batch.AbstractBatchJobHandler
createBatchJob, createJobs, deleteJobs, newConfiguration, onDelete, postProcessJob, readConfiguration, saveConfiguration, writeConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JOB_DECLARATION

public static final BatchJobDeclaration JOB_DECLARATION
Constructor Detail

DeleteHistoricProcessInstancesJobHandler

public DeleteHistoricProcessInstancesJobHandler()
Method Detail

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.