| java.lang.Object org.apache.commons.scxml.test.StandaloneUtils
StandaloneUtils | final public class StandaloneUtils (Code) | | Utility methods used by command line SCXML execution, useful for
debugging.
The following expression languages are supported in SCXML documents:
- JEXL - Using Commons JEXL
- EL - Using Commons EL
See Also: org.apache.commons.scxml.env.jexl See Also: org.apache.commons.scxml.env.jsp |
Method Summary | |
public static void | execute(String uri, Evaluator evaluator) Command line utility method for executing the state machine defined
using the SCXML document described by the specified URI and using
the specified expression evaluator. |
execute | public static void execute(String uri, Evaluator evaluator)(Code) | | Command line utility method for executing the state machine defined
using the SCXML document described by the specified URI and using
the specified expression evaluator.
Parameters: uri - The URI or filename of the SCXML document Parameters: evaluator - The expression evaluator for the expression languageused in the specified SCXML documentRUNNING: - Enter a space-separated list of "events"
- To quit, enter "quit"
- To populate a variable in the current context,type "name=value"
- To reset state machine, enter "reset"
|
|
|