it.amattioli.workstate.core
Class InternalTransition

Show UML class diagram
java.lang.Object
  extended by it.amattioli.workstate.core.Transition
      extended by it.amattioli.workstate.core.InternalTransition

public class InternalTransition
extends Transition

Am InternalTransition connects a state with itself and during its execution the state is not exited. So the attributes of the associated state are available during the action execution and they are not re-initialized as of an ExternalTransition.

See Also:
ExternalTransition

Constructor Summary
InternalTransition(MetaEvent event, MetaState state, TransitionAction action, Guard guard)
           
 
Method Summary
 void perform(Event event, State currentState)
          Perform this transition.
 
Methods inherited from class it.amattioli.workstate.core.Transition
doAction, equals, getEndState, getEvent, getGuardPriorityComparator, getStartState, hasSameTrigger, isAction, isEndState, isEvent, isGuard, isStartState, isTriggeredBy, toString, undoAction
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InternalTransition

public InternalTransition(MetaEvent event,
                          MetaState state,
                          TransitionAction action,
                          Guard guard)
Method Detail

perform

public void perform(Event event,
                    State currentState)
             throws WorkflowException
Description copied from class: Transition
Perform this transition.

Specified by:
perform in class Transition
Throws:
WorkflowException


Copyright © 2011. All Rights Reserved.