Package org.camunda.bpm.engine.impl.cmd
Class AbstractUpdateProcessInstancesSuspendStateCmd<T>
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.AbstractUpdateProcessInstancesSuspendStateCmd<T>
-
- All Implemented Interfaces:
Command<T>
- Direct Known Subclasses:
UpdateProcessInstancesSuspendStateBatchCmd
,UpdateProcessInstancesSuspendStateCmd
public abstract class AbstractUpdateProcessInstancesSuspendStateCmd<T> extends Object implements Command<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected UpdateProcessInstancesSuspensionStateBuilderImpl
builder
protected CommandExecutor
commandExecutor
protected boolean
suspending
-
Constructor Summary
Constructors Constructor Description AbstractUpdateProcessInstancesSuspendStateCmd(CommandExecutor commandExecutor, UpdateProcessInstancesSuspensionStateBuilderImpl builder, boolean suspending)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BatchElementConfiguration
collectProcessInstanceIds(CommandContext commandContext)
protected void
writeUserOperationLog(CommandContext commandContext, int numInstances, boolean async)
protected void
writeUserOperationLogAsync(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
execute, isRetryable
-
-
-
-
Field Detail
-
builder
protected UpdateProcessInstancesSuspensionStateBuilderImpl builder
-
commandExecutor
protected CommandExecutor commandExecutor
-
suspending
protected boolean suspending
-
-
Constructor Detail
-
AbstractUpdateProcessInstancesSuspendStateCmd
public AbstractUpdateProcessInstancesSuspendStateCmd(CommandExecutor commandExecutor, UpdateProcessInstancesSuspensionStateBuilderImpl builder, boolean suspending)
-
-
Method Detail
-
collectProcessInstanceIds
protected BatchElementConfiguration collectProcessInstanceIds(CommandContext commandContext)
-
writeUserOperationLog
protected void writeUserOperationLog(CommandContext commandContext, int numInstances, boolean async)
-
writeUserOperationLogAsync
protected void writeUserOperationLogAsync(CommandContext commandContext, int numInstances)
-
-