Class DeleteProcessInstanceBatchCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.batch.DeleteProcessInstanceBatchCmd
-
-
Field Summary
Fields Modifier and Type Field Description protected String
deleteReason
protected HistoricProcessInstanceQuery
historicProcessInstanceQuery
protected List<String>
processInstanceIds
protected ProcessInstanceQuery
processInstanceQuery
protected boolean
skipCustomListeners
protected boolean
skipSubprocesses
-
Constructor Summary
Constructors Constructor Description DeleteProcessInstanceBatchCmd(List<String> processInstances, ProcessInstanceQuery processInstanceQuery, HistoricProcessInstanceQuery historicProcessInstanceQuery, String deleteReason, boolean skipCustomListeners, boolean skipSubprocesses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BatchElementConfiguration
collectProcessInstanceIds(CommandContext commandContext)
Batch
execute(CommandContext commandContext)
BatchConfiguration
getConfiguration(BatchElementConfiguration elementConfiguration)
List<String>
getProcessInstanceIds()
protected void
writeUserOperationLog(CommandContext commandContext, int numInstances)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
-
-
-
Field Detail
-
deleteReason
protected final String deleteReason
-
processInstanceQuery
protected ProcessInstanceQuery processInstanceQuery
-
historicProcessInstanceQuery
protected HistoricProcessInstanceQuery historicProcessInstanceQuery
-
skipCustomListeners
protected boolean skipCustomListeners
-
skipSubprocesses
protected boolean skipSubprocesses
-
-
Constructor Detail
-
DeleteProcessInstanceBatchCmd
public DeleteProcessInstanceBatchCmd(List<String> processInstances, ProcessInstanceQuery processInstanceQuery, HistoricProcessInstanceQuery historicProcessInstanceQuery, String deleteReason, boolean skipCustomListeners, boolean skipSubprocesses)
-
-
Method Detail
-
execute
public Batch execute(CommandContext commandContext)
-
collectProcessInstanceIds
protected BatchElementConfiguration collectProcessInstanceIds(CommandContext commandContext)
-
writeUserOperationLog
protected void writeUserOperationLog(CommandContext commandContext, int numInstances)
-
getConfiguration
public BatchConfiguration getConfiguration(BatchElementConfiguration elementConfiguration)
-
-