站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss JBPM 3.0.4 API 英文版文档

Script (jbpm-3.0.4) - JBoss JBPM 3.0.4 API 英文版文档


org.jbpm.graph.action
Class Script

java.lang.Object
  extended byorg.jbpm.graph.def.Action
      extended byorg.jbpm.graph.action.Script
All Implemented Interfaces:
Parsable, java.io.Serializable

public class Script
extends Action
implements Parsable

See Also:
Serialized Form

Field Summary
protected  java.lang.String expression
           
protected  java.util.Set variableAccesses
           
 
Fields inherited from class org.jbpm.graph.def.Action
actionDelegation, event, isPropagationAllowed, name, processDefinition, referencedAction
 
Constructor Summary
Script()
           
 
Method Summary
 void addVariableAccess(VariableAccess variableAccess)
           
 java.util.Map createInputMap(ExecutionContext executionContext)
           
 java.util.Map eval(ExecutionContext executionContext)
           
 java.util.Map eval(java.util.Map inputMap, java.util.Set outputNames)
           
 java.util.Map eval(Token token)
           
 void execute(ExecutionContext executionContext)
           
 java.lang.String getExpression()
           
 java.util.Set getVariableAccesses()
           
 void read(org.dom4j.Element scriptElement, JpdlXmlReader jpdlReader)
           
 void setExpression(java.lang.String expression)
           
 void setVariableAccesses(java.util.Set variableAccesses)
           
 
Methods inherited from class org.jbpm.graph.def.Action
acceptsPropagatedEvents, getActionDelegation, getEvent, getId, getName, getProcessDefinition, getReferencedAction, isPropagationAllowed, setActionDelegation, setName, setProcessDefinition, setPropagationAllowed, setReferencedAction, toString, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jbpm.jpdl.xml.Parsable
write
 

Field Detail

expression

protected java.lang.String expression

variableAccesses

protected java.util.Set variableAccesses
Constructor Detail

Script

public Script()
Method Detail

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)
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.0.4