com.ibm.dse.automaton.ext
Class StartAction

java.lang.Object
  |
  +--com.ibm.dse.base.DSENotifier
        |
        +--com.ibm.dse.automaton.DSEAction
              |
              +--com.ibm.dse.automaton.ext.StartAction

public class StartAction
extends DSEAction

This class provides support for starting a flow to enter the initial state. This action is intended to be assigned as an entry action of the initial state. It just signals the "start" event when executed to help the state move to the next state according to the transition defined for the "start" event.

See Also:
Serialized Form

Fields inherited from class com.ibm.dse.automaton.DSEAction
context, inputMapFmtTag, operationTag, outputMapFmtTag, sourceEvent, tag
 
Fields inherited from class com.ibm.dse.base.DSENotifier
handlersList, name
 
Constructor Summary
StartAction()
          This constructor creates a StartAction object.
StartAction(boolean mustRegister)
          This constructor creates a StartAction object.
StartAction(java.lang.String aName)
          This constructor creates a StartAction object.
StartAction(java.lang.String aName, java.lang.String aTID)
          This constructor creates a StartAction object.
 
Method Summary
 void execute()
          This method signals the "start" event to allow the flow to move to the target state defined for the transition
 
Methods inherited from class com.ibm.dse.automaton.DSEAction
chainOrAssignContext, chainOrAssignContext, close, close, evaluateGuardCondition, externalizer, getContext, getGuardConditions, getInputMapFmtTag, getOperationTag, getOutputMapFmtTag, getParms, getProcessor, getSourceEvent, initializeFrom, mapTheInput, mapTheOutput, preProcess, readExternal, readExternal, removeExternal, setContext, setGuardConditions, setInputMapFmtTag, setOperationTag, setOutputMapFmtTag, setParms, setProcessor, setSourceEvent, toString, toStrings, toTags, writeExternal, writeExternal
 
Methods inherited from class com.ibm.dse.base.DSENotifier
addHandler, getHandlersList, getName, removeHandler, setName, signalEvent, signalEvent, signalEvent, terminate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StartAction

public StartAction()
This constructor creates a StartAction object.

StartAction

public StartAction(java.lang.String aName)
This constructor creates a StartAction object.
Parameters:
aName - java.lang.String

StartAction

public StartAction(java.lang.String aName,
                   java.lang.String aTID)
This constructor creates a StartAction object.
Parameters:
aName - java.lang.String
aTID - java.lang.String

StartAction

public StartAction(boolean mustRegister)
This constructor creates a StartAction object.
Parameters:
mustRegister - boolean
Method Detail

execute

public void execute()
This method signals the "start" event to allow the flow to move to the target state defined for the transition
Overrides:
execute in class DSEAction
Tags copied from class: DSEAction
Throws:
java.lang.Exception - The implementor of this class must decide when to throw an exception occurred to the automaton.