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

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


org.jbpm.graph.node
Class StartState

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

public class StartState
extends Node

See Also:
Serialized Form

Field Summary
 Swimlane initiatorSwimlane
           
static java.lang.String[] supportedEventTypes
           
 
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
StartState()
           
StartState(java.lang.String name)
           
 
Method Summary
 Transition addArrivingTransition(Transition t)
          add a bidirection relation between this node and the given arriving transition.
 void execute(ExecutionContext executionContext)
          override this method to customize the node behaviour.
 java.lang.String[] getSupportedEventTypes()
          indicative set of event types supported by this graph element.
 void leave(ExecutionContext executionContext, Transition transition)
          called by the implementation of this node to continue execution over the given transition.
 void read(org.dom4j.Element startStateElement, JpdlXmlReader jpdlReader)
           
 void setArrivingTransitions(java.util.Map arrivingTransitions)
           
 void write(org.dom4j.Element nodeElement)
           
 
Methods inherited from class org.jbpm.graph.def.Node
addLeavingTransition, enter, generateNextLeavingTransitionName, getAction, getArrivingTransitions, getDefaultLeavingTransition, getFullyQualifiedName, getLeavingTransition, getLeavingTransitions, getLeavingTransitionsList, getLeavingTransitionsMap, getParent, getProcessDefinition, getSuperState, hasLeavingTransition, hasNoLeavingTransitions, leave, leave, removeArrivingTransition, removeLeavingTransition, reorderLeavingTransition, setAction, setName
 
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
 

Field Detail

initiatorSwimlane

public Swimlane initiatorSwimlane

supportedEventTypes

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

StartState

public StartState()

StartState

public StartState(java.lang.String name)
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 startStateElement,
                 JpdlXmlReader jpdlReader)
Specified by:
read in interface Parsable
Overrides:
read in class Node

write

public void write(org.dom4j.Element nodeElement)
Specified by:
write in interface Parsable
Overrides:
write in class Node

leave

public void leave(ExecutionContext executionContext,
                  Transition transition)
Description copied from class: Node
called by the implementation of this node to continue execution over the given transition.

Overrides:
leave 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

addArrivingTransition

public Transition addArrivingTransition(Transition t)
Description copied from class: Node
add a bidirection relation between this node and the given arriving transition.

Overrides:
addArrivingTransition in class Node

setArrivingTransitions

public void setArrivingTransitions(java.util.Map arrivingTransitions)


Version : jbpm-3.0.4