com.atomikos.finitestates
Interface TransitionTable

All Known Implementing Classes:
AllowAllTransitionTable

public interface TransitionTable


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

Method Detail

legalTransition

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