14 public boolean execute(String ruleId, InteractionDialogAPI dialog, List<Token> params, Map<String, MemoryAPI> memoryMap) {
16 String
string = params.get(0).string;
17 int index =
string.indexOf(
".");
21 memoryKey =
string.substring(1, index);
22 varPrefix =
"$" +
string.substring(index + 1);
24 memoryKey = MemKeys.LOCAL;
28 MemoryAPI memory = memoryMap.get(memoryKey);
29 List<String>
unset =
new ArrayList<String>();
30 for (String key : memory.getKeys()) {
31 if (key.startsWith(varPrefix)) {
35 for (String key :
unset) {