org.camunda.bpm.engine.impl.cmd
Class AbstractPatchVariablesCmd

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.AbstractPatchVariablesCmd
All Implemented Interfaces:
Serializable, Command<Void>
Direct Known Subclasses:
PatchExecutionVariablesCmd, PatchTaskVariablesCmd

public abstract class AbstractPatchVariablesCmd
extends Object
implements Command<Void>, Serializable

Author:
Stefan Hentschel.
See Also:
Serialized Form

Field Summary
protected  Collection<String> deletions
           
protected  String entityId
           
protected  boolean isLocal
           
protected  Map<String,? extends Object> variables
           
 
Constructor Summary
AbstractPatchVariablesCmd(String entityId, Map<String,? extends Object> variables, Collection<String> deletions, boolean isLocal)
           
 
Method Summary
 Void execute(CommandContext commandContext)
           
protected  String getLogEntryOperation()
           
protected abstract  AbstractRemoveVariableCmd getRemoveVariableCmd()
           
protected abstract  AbstractSetVariableCmd getSetVariableCmd()
           
protected abstract  void logVariableOperation(CommandContext commandContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entityId

protected String entityId

variables

protected Map<String,? extends Object> variables

deletions

protected Collection<String> deletions

isLocal

protected boolean isLocal
Constructor Detail

AbstractPatchVariablesCmd

public AbstractPatchVariablesCmd(String entityId,
                                 Map<String,? extends Object> variables,
                                 Collection<String> deletions,
                                 boolean isLocal)
Method Detail

execute

public Void execute(CommandContext commandContext)
Specified by:
execute in interface Command<Void>

getLogEntryOperation

protected String getLogEntryOperation()

getSetVariableCmd

protected abstract AbstractSetVariableCmd getSetVariableCmd()

getRemoveVariableCmd

protected abstract AbstractRemoveVariableCmd getRemoveVariableCmd()

logVariableOperation

protected abstract void logVariableOperation(CommandContext commandContext)


Copyright © 2017 camunda services GmbH. All rights reserved.