org.apache.commons.scxml.test
Class StandaloneUtils
java.lang.Object
org.apache.commons.scxml.test.StandaloneUtils
public final class StandaloneUtils
- extends Object
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
,
org.apache.commons.scxml.env.jsp
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
execute
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.
- Parameters:
uri
- The URI or filename of the SCXML documentevaluator
- The expression evaluator for the expression language
used in the specified SCXML document
RUNNING:
- 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"
Copyright © 2005-2008 The Apache Software Foundation. All Rights Reserved.