it.amattioli.workstate.core
Class ExternalTransition
java.lang.Object
it.amattioli.workstate.core.Transition
it.amattioli.workstate.core.ExternalTransition
public class ExternalTransition
- extends Transition
An external transition exits from its source state and enters its destination
state even if the two are the same state. So in every case the transition:
- will execute the source state exit action
- will destroy the source state with all its attributes
- will execute its transition action
- will create a new instance of the destination state and will initialize
its attributes
- will execute the destination state entry action
- See Also:
InternalTransition
| Methods inherited from class it.amattioli.workstate.core.Transition |
doAction, getEndState, getEvent, getGuardPriorityComparator, getStartState, hasSameTrigger, isAction, isEndState, isEvent, isGuard, isStartState, isTriggeredBy, toString, undoAction |
ExternalTransition
public ExternalTransition(MetaEvent event,
MetaState start,
MetaState end,
TransitionAction action,
Guard guard)
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
equals
public boolean equals(Object o)
- Overrides:
equals in class Transition
Copyright © 2011. All Rights Reserved.