org.jbpm.graph.action
Class Script
java.lang.Object
org.jbpm.graph.def.Action
org.jbpm.graph.action.Script
- All Implemented Interfaces:
- java.io.Serializable, ActionHandler, Parsable
public class Script
- extends Action
- implements Parsable
- See Also:
- Serialized Form
Methods inherited from class org.jbpm.graph.def.Action |
acceptsPropagatedEvents, equals, getActionDelegation, getEvent, getId, getName, getProcessDefinition, getReferencedAction, isAsync, isPropagationAllowed, setActionDelegation, setName, setProcessDefinition, setPropagationAllowed, setReferencedAction, toString, write |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jbpm.jpdl.xml.Parsable |
write |
expression
protected java.lang.String expression
variableAccesses
protected java.util.Set variableAccesses
Script
public Script()
read
public void read(org.dom4j.Element scriptElement,
JpdlXmlReader jpdlReader)
- Specified by:
read
in interface Parsable
- Overrides:
read
in class Action
execute
public void execute(ExecutionContext executionContext)
- Specified by:
execute
in interface ActionHandler
- Overrides:
execute
in class Action
eval
public java.util.Map eval(Token token)
eval
public java.util.Map eval(ExecutionContext executionContext)
createInputMap
public java.util.Map createInputMap(ExecutionContext executionContext)
eval
public java.util.Map eval(java.util.Map inputMap,
java.util.Set outputNames)
addVariableAccess
public void addVariableAccess(VariableAccess variableAccess)
getExpression
public java.lang.String getExpression()
setExpression
public void setExpression(java.lang.String expression)
getVariableAccesses
public java.util.Set getVariableAccesses()
setVariableAccesses
public void setVariableAccesses(java.util.Set variableAccesses)
Version : jbpm-3.1.1