com.atomikos.finitestates
Interface TransitionTable<Status>

All Known Implementing Classes:
AllowAllTransitionTable

public interface TransitionTable<Status>

A Transition Table determines which transitions are legal.


Method Summary
 boolean legalTransition(Status from, Status to)
          This method allows checking whether a transition is valid.
 

Method Detail

legalTransition

boolean legalTransition(Status from,
                        Status 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 © 2014. All Rights Reserved.