org.camunda.bpm.engine.impl.cmd.batch
Class DeleteProcessInstanceBatchCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.batch.AbstractBatchCmd<T>
org.camunda.bpm.engine.impl.cmd.batch.AbstractIDBasedBatchCmd<Batch>
org.camunda.bpm.engine.impl.cmd.batch.DeleteProcessInstanceBatchCmd
- All Implemented Interfaces:
- Command<Batch>
public class DeleteProcessInstanceBatchCmd
- extends AbstractIDBasedBatchCmd<Batch>
- Author:
- Askar Akhmerov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
deleteReason
protected final String deleteReason
processInstanceIds
protected List<String> processInstanceIds
processInstanceQuery
protected ProcessInstanceQuery processInstanceQuery
skipCustomListeners
protected boolean skipCustomListeners
DeleteProcessInstanceBatchCmd
public DeleteProcessInstanceBatchCmd(List<String> processInstances,
ProcessInstanceQuery processInstanceQuery,
String deleteReason,
boolean skipCustomListeners)
collectProcessInstanceIds
protected List<String> collectProcessInstanceIds()
getProcessInstanceIds
public List<String> getProcessInstanceIds()
execute
public Batch execute(CommandContext commandContext)
getAbstractIdsBatchConfiguration
protected BatchConfiguration getAbstractIdsBatchConfiguration(List<String> processInstanceIds)
- Specified by:
getAbstractIdsBatchConfiguration in class AbstractIDBasedBatchCmd<Batch>
getBatchJobHandler
protected BatchJobHandler<DeleteProcessInstanceBatchConfiguration> getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration)
- Specified by:
getBatchJobHandler in class AbstractIDBasedBatchCmd<Batch>
writeUserOperationLog
protected void writeUserOperationLog(CommandContext commandContext,
String deleteReason,
int numInstances,
boolean async)
Copyright © 2017 camunda services GmbH. All rights reserved.