com.atomikos.finitestates
Interface TransitionTable
- All Known Implementing Classes:
- AllowAllTransitionTable
public interface TransitionTable
A Transition Table determines which transitions are legal.
legalTransition
boolean legalTransition(Object from,
Object to)
- This method allows checking whether a transition is valid.
- Parameters:
from
- The start state of the transition.to
- The end state of the transition.
- Returns:
- true if the transition is allowed, false otherwise.
Copyright © 2011. All Rights Reserved.