当前页面:
在线文档首页 >
JBoss JBPM 3.1.3 API 英文版文档
Script (jbpm-3.1.3) - JBoss JBPM 3.1.3 API 英文版文档
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)
throws java.lang.Exception
- Specified by:
execute
in interface ActionHandler
- Overrides:
execute
in class Action
- Throws:
java.lang.Exception
eval
public java.util.Map eval(Token token)
throws java.lang.Exception
- Throws:
java.lang.Exception
eval
public java.util.Map eval(ExecutionContext executionContext)
throws java.lang.Exception
- Throws:
java.lang.Exception
createInputMap
public java.util.Map createInputMap(ExecutionContext executionContext)
eval
public java.util.Map eval(java.util.Map inputMap,
java.util.Set outputNames)
throws java.lang.Exception
- Throws:
java.lang.Exception
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.3