org.jbpm.graph.action
Class Script
java.lang.Object
org.jbpm.graph.def.Action
org.jbpm.graph.action.Script
- All Implemented Interfaces:
- Serializable, ActionHandler, Parsable
public class Script
- extends Action
- See Also:
- Serialized Form
| Methods inherited from class org.jbpm.graph.def.Action |
acceptsPropagatedEvents, equals, getActionDelegation, getActionExpression, getEvent, getId, getName, getProcessDefinition, getReferencedAction, hashCode, isAsync, isAsyncExclusive, isPropagationAllowed, setActionDelegation, setActionExpression, setAsync, setAsyncExclusive, setEvent, setName, setProcessDefinition, setPropagationAllowed, setReferencedAction, write |
expression
protected String expression
variableAccesses
protected 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)
throws Exception
- Specified by:
execute in interface ActionHandler- Overrides:
execute in class Action
- Throws:
Exception
toString
public String toString()
- Overrides:
toString in class Action
eval
public Map eval(Token token)
eval
public Map eval(ExecutionContext executionContext)
createInputMap
public Map createInputMap(ExecutionContext executionContext)
eval
public Map eval(Map inputMap,
Set outputNames)
addVariableAccess
public void addVariableAccess(VariableAccess variableAccess)
getExpression
public String getExpression()
setExpression
public void setExpression(String expression)
getVariableAccesses
public Set getVariableAccesses()
setVariableAccesses
public void setVariableAccesses(Set variableAccesses)
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.