public abstract class AbstractPatchVariablesCmd extends Object implements Command<Void>, Serializable
Modifier and Type | Field and Description |
---|---|
protected Collection<String> |
deletions |
protected String |
entityId |
protected boolean |
isLocal |
protected Map<String,? extends Object> |
variables |
Constructor and Description |
---|
AbstractPatchVariablesCmd(String entityId,
Map<String,? extends Object> variables,
Collection<String> deletions,
boolean isLocal) |
Modifier and Type | Method and Description |
---|---|
Void |
execute(CommandContext commandContext) |
protected String |
getLogEntryOperation() |
protected abstract AbstractRemoveVariableCmd |
getRemoveVariableCmd() |
protected abstract AbstractSetVariableCmd |
getSetVariableCmd() |
protected abstract void |
logVariableOperation(CommandContext commandContext) |
protected String entityId
protected Collection<String> deletions
protected boolean isLocal
public Void execute(CommandContext commandContext)
protected String getLogEntryOperation()
protected abstract AbstractSetVariableCmd getSetVariableCmd()
protected abstract AbstractRemoveVariableCmd getRemoveVariableCmd()
protected abstract void logVariableOperation(CommandContext commandContext)
Copyright © 2020. All rights reserved.