Package com.cometway.states

This package contain classes which implement a vitual state machine model.

See:
          Description

Interface Summary
CommandInterface This interface defines methods necessary to execute a state command.
HasStateMachineModel This interface can be implemented by any class which needs to provide public access to its StateMachineModelInterface.
StateMachineModelInterface This interface defines methods necessary to retrieve states from a model of a state machine.
StateModelInterface This interface defines methods necessary to retrieve information from a model of a state.
TransitionInterface This interface defines methods necessary to test for a state transition.
 

Class Summary
AutoTransition This is an implementation of TransitionInterface that will always return the state specified in the constructor.
ReflectionCommand This implementation of CommandInterface using the reflection API to invoke a public method of any Object.
ReflectionTransition This implementation of TransitionInterface uses the Java Reflection API to execute a specific method on the transition object.
StateMachineModel Implementation of the StateMachineModelInterface.
StateModel Implementation of the StateModelInterface.
 

Exception Summary
CommandException This exception is thrown by CommandInterface.execute when there is a problem.
TransitionException This exception is thrown by TransitionInterface.execute when there is a problem.
 

Package com.cometway.states Description

This package contain classes which implement a vitual state machine model.