Package | Description |
---|---|
org.apache.commons.scxml2 |
The Commons SCXML executor and core concepts.
|
org.apache.commons.scxml2.env.groovy |
A collection of classes that allow Groovy to be used in expressions
within SCXML documents.
|
org.apache.commons.scxml2.env.javascript |
A collection of classes that allow JavaScript to be used in expressions
within SCXML documents via the
javax.script API. |
org.apache.commons.scxml2.env.jexl |
A collection of classes that allow JEXL to be used in expressions
within SCXML documents.
|
org.apache.commons.scxml2.env.minimal | |
org.apache.commons.scxml2.env.xpath |
A collection of classes that allow XPath to be used in expressions
within SCXML documents via Commons JXPath
|
org.apache.commons.scxml2.model |
A collection of classes needed to model SCXML documents.
|
Modifier and Type | Method and Description |
---|---|
static void |
XPathBuiltin.assign(Context ctx,
Object location,
Object data,
Evaluator.AssignType type,
String attr)
Assigns data to a location
|
static Object |
XPathBuiltin.eval(Context ctx,
String expression)
Evaluate an xpath expression returning a data value
|
Object |
Evaluator.eval(Context ctx,
String expr)
Evaluate an expression returning a data value
|
void |
Evaluator.evalAssign(Context ctx,
String location,
Object data,
Evaluator.AssignType type,
String attr)
Assigns data to a location
|
Boolean |
Evaluator.evalCond(Context ctx,
String expr)
Evaluate a condition.
|
static Object |
XPathBuiltin.evalLocation(Context ctx,
String expression)
Evaluate an xpath location that returns a data assignable reference or list of references.
|
Object |
Evaluator.evalLocation(Context ctx,
String expr)
Evaluate a location that returns a data assignable reference or list of references.
|
Object |
Evaluator.evalScript(Context ctx,
String script)
Evaluate a script.
|
Modifier and Type | Method and Description |
---|---|
Object |
GroovySCXMLScript.Data(String expression)
Implements the Data() predicate for SCXML documents.
|
Object |
GroovyEvaluator.eval(Context ctx,
String expr)
Evaluate an expression.
|
void |
GroovyEvaluator.evalAssign(Context ctx,
String location,
Object data,
Evaluator.AssignType type,
String attr) |
Boolean |
GroovyEvaluator.evalCond(Context ctx,
String expr) |
Object |
GroovyEvaluator.evalLocation(Context ctx,
String expr) |
Object |
GroovyEvaluator.evalScript(Context ctx,
String scriptSource) |
Object |
GroovySCXMLScript.Location(String location)
Implements the Location() predicate for SCXML documents.
|
Modifier and Type | Method and Description |
---|---|
Object |
JSFunctions.Data(String expression)
Provides the Commons SCXML Data() predicate extension for SCXML documents.
|
Object |
JSEvaluator.eval(Context context,
String expression)
Evaluates the expression using a new Javascript engine obtained from
factory instantiated in the constructor.
|
void |
JSEvaluator.evalAssign(Context ctx,
String location,
Object data,
Evaluator.AssignType type,
String attr) |
Boolean |
JSEvaluator.evalCond(Context context,
String expression)
Evaluates a conditional expression using the
eval() method and
casting the result to a Boolean. |
Object |
JSEvaluator.evalLocation(Context context,
String expression)
Evaluates a location expression using a new Javascript engine obtained from
factory instantiated in the constructor.
|
Object |
JSEvaluator.evalScript(Context ctx,
String script)
Executes the script using a new Javascript engine obtained from
factory instantiated in the constructor.
|
Object |
JSFunctions.Location(String expression)
Provides the Commons SCXML Location() predicate extension for SCXML documents.
|
Modifier and Type | Method and Description |
---|---|
Object |
JexlBuiltin.Data(String expression)
Provides the Commons SCXML Data() predicate extension for SCXML documents.
|
Object |
JexlEvaluator.eval(Context ctx,
String expr)
Evaluate an expression.
|
void |
JexlEvaluator.evalAssign(Context ctx,
String location,
Object data,
Evaluator.AssignType type,
String attr) |
Boolean |
JexlEvaluator.evalCond(Context ctx,
String expr) |
Object |
JexlEvaluator.evalLocation(Context ctx,
String expr) |
Object |
JexlEvaluator.evalScript(Context ctx,
String script) |
Object |
JexlBuiltin.Location(String expression)
Provides the Commons SCXML Location() predicate extension for SCXML documents.
|
Modifier and Type | Method and Description |
---|---|
Object |
MinimalEvaluator.eval(Context ctx,
String expr) |
void |
MinimalEvaluator.evalAssign(Context ctx,
String location,
Object data,
Evaluator.AssignType type,
String attr) |
Boolean |
MinimalEvaluator.evalCond(Context ctx,
String expr) |
Object |
MinimalEvaluator.evalLocation(Context ctx,
String expr) |
Object |
MinimalEvaluator.evalScript(Context ctx,
String script) |
Modifier and Type | Method and Description |
---|---|
protected void |
XPathEvaluator.assign(Context ctx,
Node node,
String nodePath,
Object data,
Evaluator.AssignType type,
String attr) |
void |
XPathEvaluator.assign(Context ctx,
Object location,
Object data,
Evaluator.AssignType type,
String attr)
Assigns data to a location
|
Object |
XPathEvaluator.eval(Context ctx,
String expr) |
void |
XPathEvaluator.evalAssign(Context ctx,
String location,
Object data,
Evaluator.AssignType type,
String attr) |
Boolean |
XPathEvaluator.evalCond(Context ctx,
String expr) |
Object |
XPathEvaluator.evalLocation(Context ctx,
String expr) |
Object |
XPathEvaluator.evalScript(Context ctx,
String script) |
protected org.apache.commons.jxpath.JXPathContext |
XPathEvaluator.getContext(Context ctx) |
Modifier and Type | Method and Description |
---|---|
protected void |
NamelistHolder.addNamelistDataToPayload(ActionExecutionContext exctx,
Map<String,Object> payload)
Adds data to the payload data map based on the namelist which names are location expressions
(typically data ids or for example XPath variables).
|
protected void |
ParamsContainer.addParamsToPayload(ActionExecutionContext exctx,
Map<String,Object> payload)
Adds data to the payload data map based on the
Param s of this ParamsContainer |
void |
Var.execute(ActionExecutionContext exctx)
Execute this action instance.
|
void |
Send.execute(ActionExecutionContext exctx)
Execute this action instance.
|
void |
Script.execute(ActionExecutionContext exctx)
Execute this action instance.
|
void |
Raise.execute(ActionExecutionContext exctx)
Execute this action instance.
|
void |
Log.execute(ActionExecutionContext exctx)
Execute this action instance.
|
void |
If.execute(ActionExecutionContext exctx)
Execute this action instance.
|
void |
Foreach.execute(ActionExecutionContext exctx)
Execute this action instance.
|
void |
ElseIf.execute(ActionExecutionContext exctx)
Execute this action instance.
|
void |
Cancel.execute(ActionExecutionContext exctx)
Execute this action instance.
|
void |
Assign.execute(ActionExecutionContext exctx)
Execute this action instance.
|
abstract void |
Action.execute(ActionExecutionContext exctx)
Execute this action instance.
|
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.