com.atomikos.finitestates
Class AllowAllTransitionTable

java.lang.Object
  extended by com.atomikos.finitestates.AllowAllTransitionTable
All Implemented Interfaces:
TransitionTable

public class AllowAllTransitionTable
extends Object
implements TransitionTable


Constructor Summary
AllowAllTransitionTable()
           
 
Method Summary
 boolean legalTransition(TxState from, TxState to)
          This method always returns true.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllowAllTransitionTable

public AllowAllTransitionTable()
Method Detail

legalTransition

public boolean legalTransition(TxState from,
                               TxState to)
This method always returns true.

Specified by:
legalTransition in interface TransitionTable
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.