Package org.camunda.bpm.engine.impl.cmd
Class SetTaskVariablesCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.AbstractVariableCmd
org.camunda.bpm.engine.impl.cmd.AbstractSetVariableCmd
org.camunda.bpm.engine.impl.cmd.SetTaskVariablesCmd
- All Implemented Interfaces:
Serializable
,VariableInstanceLifecycleListener<VariableInstanceEntity>
,Command<Void>
public class SetTaskVariablesCmd
extends AbstractSetVariableCmd
implements VariableInstanceLifecycleListener<VariableInstanceEntity>
- Author:
- Tom Baeyens, Joram Barrez
- See Also:
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetVariableCmd
skipJavaSerializationFormatCheck, variables
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractVariableCmd
commandContext, entityId, isLocal, preventLogUserOperation
-
Constructor Summary
ConstructorDescriptionSetTaskVariablesCmd
(String taskId, Map<String, ? extends Object> variables, boolean isLocal) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected ExecutionEntity
protected TaskEntity
protected void
void
onCreate
(VariableInstanceEntity variableInstance, AbstractVariableScope sourceScope) void
onDelete
(VariableInstanceEntity variableInstance, AbstractVariableScope sourceScope) protected void
protected void
onSuccess
(AbstractVariableScope scope) void
onUpdate
(VariableInstanceEntity variableInstance, AbstractVariableScope sourceScope) Methods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractSetVariableCmd
executeOperation, getLogEntryOperation
Methods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractVariableCmd
disableLogUserOperation, execute
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 Details
-
taskLocalVariablesUpdated
protected boolean taskLocalVariablesUpdated
-
-
Constructor Details
-
SetTaskVariablesCmd
-
-
Method Details
-
getEntity
- Specified by:
getEntity
in classAbstractVariableCmd
-
onSuccess
- Overrides:
onSuccess
in classAbstractVariableCmd
-
getContextExecution
- Specified by:
getContextExecution
in classAbstractVariableCmd
-
logVariableOperation
- Specified by:
logVariableOperation
in classAbstractVariableCmd
-
checkSetTaskVariables
-
onLocalVariableChanged
protected void onLocalVariableChanged() -
onCreate
- Specified by:
onCreate
in interfaceVariableInstanceLifecycleListener<VariableInstanceEntity>
-
onDelete
- Specified by:
onDelete
in interfaceVariableInstanceLifecycleListener<VariableInstanceEntity>
-
onUpdate
- Specified by:
onUpdate
in interfaceVariableInstanceLifecycleListener<VariableInstanceEntity>
-