cz.cuni.amis.fsm
Annotation Type FSMTransition


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface FSMTransition

This annotation is used inside the map() of the FSMState transition to specify the FSM transition from a certain state.


Required Element Summary
 java.lang.Class<? extends IFSMState> state
          Target of the transition.
 java.lang.Class[] symbol
          Classes of the symbols that triggers the transitions (or logic).
 java.lang.Class<? extends IFSMTransition>[] transition
          Classes of the IFSMTransition classes that should be stepped before switching to the next state.
 

Element Detail

symbol

public abstract java.lang.Class[] symbol
Classes of the symbols that triggers the transitions (or logic).

Returns:

transition

public abstract java.lang.Class<? extends IFSMTransition>[] transition
Classes of the IFSMTransition classes that should be stepped before switching to the next state.

Transitions are executed in provided order between oldState.stateLeaving() and newState.stateEntering()

Returns:

state

public abstract java.lang.Class<? extends IFSMState> state
Target of the transition. What state to switch to when this transition is triggered.

Returns: