Modifier and Type | Field and Description |
---|---|
protected String |
deleteReason |
protected HistoricProcessInstanceQuery |
historicProcessInstanceQuery |
protected List<String> |
processInstanceIds |
protected ProcessInstanceQuery |
processInstanceQuery |
protected boolean |
skipCustomListeners |
protected boolean |
skipSubprocesses |
Constructor and Description |
---|
DeleteProcessInstanceBatchCmd(List<String> processInstances,
ProcessInstanceQuery processInstanceQuery,
HistoricProcessInstanceQuery historicProcessInstanceQuery,
String deleteReason,
boolean skipCustomListeners,
boolean skipSubprocesses) |
Modifier and Type | Method and Description |
---|---|
protected BatchElementConfiguration |
collectProcessInstanceIds(CommandContext commandContext) |
Batch |
execute(CommandContext commandContext) |
BatchConfiguration |
getConfiguration(BatchElementConfiguration elementConfiguration) |
List<String> |
getProcessInstanceIds() |
protected void |
writeUserOperationLog(CommandContext commandContext,
int numInstances) |
protected final String deleteReason
protected ProcessInstanceQuery processInstanceQuery
protected HistoricProcessInstanceQuery historicProcessInstanceQuery
protected boolean skipCustomListeners
protected boolean skipSubprocesses
public DeleteProcessInstanceBatchCmd(List<String> processInstances, ProcessInstanceQuery processInstanceQuery, HistoricProcessInstanceQuery historicProcessInstanceQuery, String deleteReason, boolean skipCustomListeners, boolean skipSubprocesses)
public Batch execute(CommandContext commandContext)
protected BatchElementConfiguration collectProcessInstanceIds(CommandContext commandContext)
protected void writeUserOperationLog(CommandContext commandContext, int numInstances)
public BatchConfiguration getConfiguration(BatchElementConfiguration elementConfiguration)
Copyright © 2021. All rights reserved.