List of usage examples for org.apache.commons.scxml.model Assign getName
public String getName()
From source file:org.finra.datagenerator.engine.scxml.tags.SingleValueAssignExtension.java
/** * Assigns one variable to one value// w ww .j a v a 2 s .c o m * * @param action an Assign Action * @param possibleStateList a current list of possible states produced so far from expanding a model state * * @return the same list, with every possible state augmented with an assigned variable, defined by action */ public List<Map<String, String>> pipelinePossibleStates(Assign action, List<Map<String, String>> possibleStateList) { for (Map<String, String> possibleState : possibleStateList) { possibleState.put(action.getName(), action.getExpr()); } return possibleStateList; }