public class SetTaskVariablesCmd extends AbstractSetVariableCmd implements VariableInstanceLifecycleListener<VariableInstanceEntity>
Modifier and Type | Field and Description |
---|---|
protected boolean |
taskLocalVariablesUpdated |
variables
commandContext, entityId, isLocal, preventLogUserOperation
Constructor and Description |
---|
SetTaskVariablesCmd(String taskId,
Map<String,? extends Object> variables,
boolean isLocal) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkSetTaskVariables(TaskEntity task) |
protected ExecutionEntity |
getContextExecution() |
protected TaskEntity |
getEntity() |
protected void |
logVariableOperation(AbstractVariableScope scope) |
void |
onCreate(VariableInstanceEntity variableInstance,
AbstractVariableScope sourceScope) |
void |
onDelete(VariableInstanceEntity variableInstance,
AbstractVariableScope sourceScope) |
protected void |
onLocalVariableChanged() |
protected void |
onSuccess(AbstractVariableScope scope) |
void |
onUpdate(VariableInstanceEntity variableInstance,
AbstractVariableScope sourceScope) |
executeOperation, getLogEntryOperation
disableLogUserOperation, execute
protected TaskEntity getEntity()
getEntity
in class AbstractVariableCmd
protected void onSuccess(AbstractVariableScope scope)
onSuccess
in class AbstractVariableCmd
protected ExecutionEntity getContextExecution()
getContextExecution
in class AbstractVariableCmd
protected void logVariableOperation(AbstractVariableScope scope)
logVariableOperation
in class AbstractVariableCmd
protected void checkSetTaskVariables(TaskEntity task)
protected void onLocalVariableChanged()
public void onCreate(VariableInstanceEntity variableInstance, AbstractVariableScope sourceScope)
onCreate
in interface VariableInstanceLifecycleListener<VariableInstanceEntity>
public void onDelete(VariableInstanceEntity variableInstance, AbstractVariableScope sourceScope)
onDelete
in interface VariableInstanceLifecycleListener<VariableInstanceEntity>
public void onUpdate(VariableInstanceEntity variableInstance, AbstractVariableScope sourceScope)
onUpdate
in interface VariableInstanceLifecycleListener<VariableInstanceEntity>
Copyright © 2019. All rights reserved.