com.atomikos.finitestates
Interface TransitionTable
- All Known Implementing Classes:
- AllowAllTransitionTable
public interface TransitionTable
Copyright © 2000, Atomikos. All rights reserved.
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.