org.squirrelframework.foundation.fsm.impl
Class AbstractStateMachine.AbstractTransitionEvent<T extends StateMachine<T,S,E,C>,S,E,C>

java.lang.Object
  extended by org.squirrelframework.foundation.fsm.impl.AbstractStateMachine.AbstractStateMachineEvent<T,S,E,C>
      extended by org.squirrelframework.foundation.fsm.impl.AbstractStateMachine.AbstractTransitionEvent<T,S,E,C>
All Implemented Interfaces:
SquirrelEvent, StateMachine.StateMachineEvent<T,S,E,C>, StateMachine.TransitionEvent<T,S,E,C>
Direct Known Subclasses:
AbstractStateMachine.TransitionBeginEventImpl, AbstractStateMachine.TransitionCompleteEventImpl, AbstractStateMachine.TransitionDeclinedEventImpl, AbstractStateMachine.TransitionEndEventImpl, AbstractStateMachine.TransitionExceptionEventImpl
Enclosing class:
AbstractStateMachine<T extends StateMachine<T,S,E,C>,S,E,C>

public abstract static class AbstractStateMachine.AbstractTransitionEvent<T extends StateMachine<T,S,E,C>,S,E,C>
extends AbstractStateMachine.AbstractStateMachineEvent<T,S,E,C>
implements StateMachine.TransitionEvent<T,S,E,C>


Constructor Summary
AbstractStateMachine.AbstractTransitionEvent(S sourceState, E event, C context, T stateMachine)
           
 
Method Summary
 E getCause()
           
 C getContext()
           
 S getSourceState()
           
 
Methods inherited from class org.squirrelframework.foundation.fsm.impl.AbstractStateMachine.AbstractStateMachineEvent
getStateMachine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.squirrelframework.foundation.fsm.StateMachine.StateMachineEvent
getStateMachine
 

Constructor Detail

AbstractStateMachine.AbstractTransitionEvent

public AbstractStateMachine.AbstractTransitionEvent(S sourceState,
                                                    E event,
                                                    C context,
                                                    T stateMachine)
Method Detail

getSourceState

public S getSourceState()
Specified by:
getSourceState in interface StateMachine.TransitionEvent<T extends StateMachine<T,S,E,C>,S,E,C>

getCause

public E getCause()
Specified by:
getCause in interface StateMachine.TransitionEvent<T extends StateMachine<T,S,E,C>,S,E,C>

getContext

public C getContext()
Specified by:
getContext in interface StateMachine.TransitionEvent<T extends StateMachine<T,S,E,C>,S,E,C>


Copyright © 2013-2014. All Rights Reserved.