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

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


org.jbpm.graph.node
Class ProcessState

java.lang.Object
  extended byorg.jbpm.graph.def.GraphElement
      extended byorg.jbpm.graph.def.Node
          extended byorg.jbpm.graph.node.ProcessState
All Implemented Interfaces:
Parsable, java.io.Serializable

public class ProcessState
extends Node
implements Parsable

See Also:
Serialized Form

Field Summary
protected  ProcessDefinition subProcessDefinition
           
protected  java.lang.String subProcessName
           
protected  java.lang.String subProcessVersion
           
static java.lang.String[] supportedEventTypes
           
protected  java.util.Set variableAccesses
           
 
Fields inherited from class org.jbpm.graph.def.Node
action, arrivingTransitions, leavingTransitions, superState
 
Fields inherited from class org.jbpm.graph.def.GraphElement
events, exceptionHandlers, name, processDefinition
 
Constructor Summary
ProcessState()
           
 
Method Summary
 void execute(ExecutionContext executionContext)
          override this method to customize the node behaviour.
 ProcessDefinition getSubProcessDefinition()
           
 java.lang.String[] getSupportedEventTypes()
          indicative set of event types supported by this graph element.
 void notifySubProcessEnd(ProcessInstance subProcessInstance)
           
 void read(org.dom4j.Element processStateElement, JpdlXmlReader jpdlReader)
           
 void setSubProcessDefinition(ProcessDefinition subProcessDefinition)
           
 
Methods inherited from class org.jbpm.graph.def.Node
addArrivingTransition, addLeavingTransition, enter, generateNextLeavingTransitionName, getAction, getArrivingTransitions, getDefaultLeavingTransition, getFullyQualifiedName, getLeavingTransition, getLeavingTransitions, getLeavingTransitionsList, getLeavingTransitionsMap, getParent, getProcessDefinition, getSuperState, hasLeavingTransition, hasNoLeavingTransitions, leave, leave, leave, removeArrivingTransition, removeLeavingTransition, reorderLeavingTransition, setAction, setName, write
 
Methods inherited from class org.jbpm.graph.def.GraphElement
addEvent, addExceptionHandler, findExceptionHandler, fireAndPropagateEvent, fireEvent, getEvent, getEvents, getExceptionHandlers, getId, getName, getParentChain, getParents, hasEvent, hasEvents, raiseException, removeEvent, removeExceptionHandler, reorderExceptionHandler, setProcessDefinition, toString
 
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

subProcessName

protected transient java.lang.String subProcessName

subProcessVersion

protected transient java.lang.String subProcessVersion

subProcessDefinition

protected ProcessDefinition subProcessDefinition

variableAccesses

protected java.util.Set variableAccesses

supportedEventTypes

public static final java.lang.String[] supportedEventTypes
Constructor Detail

ProcessState

public ProcessState()
Method Detail

getSupportedEventTypes

public java.lang.String[] getSupportedEventTypes()
Description copied from class: GraphElement
indicative set of event types supported by this graph element. this is currently only used by the process designer to know which event types to show on a given graph element. in process definitions and at runtime, there are no contstraints on the event-types.

Overrides:
getSupportedEventTypes in class Node

read

public void read(org.dom4j.Element processStateElement,
                 JpdlXmlReader jpdlReader)
Specified by:
read in interface Parsable
Overrides:
read in class Node

execute

public void execute(ExecutionContext executionContext)
Description copied from class: Node
override this method to customize the node behaviour.

Overrides:
execute in class Node

notifySubProcessEnd

public void notifySubProcessEnd(ProcessInstance subProcessInstance)

getSubProcessDefinition

public ProcessDefinition getSubProcessDefinition()

setSubProcessDefinition

public void setSubProcessDefinition(ProcessDefinition subProcessDefinition)


Version : jbpm-3.0.4