Class DeleteHistoricProcessInstancesBatchCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.batch.DeleteHistoricProcessInstancesBatchCmd
-
-
Field Summary
Fields Modifier and Type Field Description protected String
deleteReason
protected List<String>
historicProcessInstanceIds
protected HistoricProcessInstanceQuery
historicProcessInstanceQuery
-
Constructor Summary
Constructors Constructor Description DeleteHistoricProcessInstancesBatchCmd(List<String> historicProcessInstanceIds, HistoricProcessInstanceQuery historicProcessInstanceQuery, String deleteReason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BatchElementConfiguration
collectHistoricProcessInstanceIds(CommandContext commandContext)
Batch
execute(CommandContext commandContext)
BatchConfiguration
getConfiguration(BatchElementConfiguration elementConfiguration)
List<String>
getHistoricProcessInstanceIds()
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
-
historicProcessInstanceQuery
protected HistoricProcessInstanceQuery historicProcessInstanceQuery
-
-
Constructor Detail
-
DeleteHistoricProcessInstancesBatchCmd
public DeleteHistoricProcessInstancesBatchCmd(List<String> historicProcessInstanceIds, HistoricProcessInstanceQuery historicProcessInstanceQuery, String deleteReason)
-
-
Method Detail
-
execute
public Batch execute(CommandContext commandContext)
-
collectHistoricProcessInstanceIds
protected BatchElementConfiguration collectHistoricProcessInstanceIds(CommandContext commandContext)
-
writeUserOperationLog
protected void writeUserOperationLog(CommandContext commandContext, int numInstances)
-
getConfiguration
public BatchConfiguration getConfiguration(BatchElementConfiguration elementConfiguration)
-
-