org.squirrelframework.foundation.fsm.builder
Interface From<T extends StateMachine<T,S,E,C>,S,E,C>

Type Parameters:
T - type of State Machine
S - type of State
E - type of Event
C - type of Context

public interface From<T extends StateMachine<T,S,E,C>,S,E,C>

From clause builder which is used to build transition target state.

Author:
Henry.He

Method Summary
 To<T,S,E,C> to(S stateId)
          Build transition target state and return to clause builder
 To<T,S,E,C> toFinal(S stateId)
          Builder transition target state as final state and return to clause builder
 

Method Detail

to

To<T,S,E,C> to(S stateId)
Build transition target state and return to clause builder

Parameters:
stateId - id of state
Returns:
To clause builder

toFinal

To<T,S,E,C> toFinal(S stateId)
Builder transition target state as final state and return to clause builder

Parameters:
stateId - id of state
Returns:
To clause builder


Copyright © 2013-2014. All Rights Reserved.