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