| net.sourceforge.groboutils.mbtf.v1.ITransition
All known Subclasses: net.sourceforge.groboutils.mbtf.v1.engine.TransitionImpl,
ITransition | public interface ITransition (Code) | | Corresponds to a state-machine transition from one state to another.
Transitions must verify that their associated action can be performed
on the current system's state.
author: Matt Albrecht groboclown@users.sourceforge.net version: $Date: 2003/02/10 22:52:25 $ since: June 12, 2002 |
Method Summary | |
public IAction | getAction() Returns the action used to transition to the destination state. | public IState | getDestinationState() Returns the next state if the corresponding action is executed. | public String | getName() Retrieves the name for the transition. | public IValidate[] | getValidates() Returns all validation methods used to assert that the system can
perform this transition. |
getAction | public IAction getAction()(Code) | | Returns the action used to transition to the destination state.
transition's action, which can never be null. |
getDestinationState | public IState getDestinationState()(Code) | | Returns the next state if the corresponding action is executed.
destination state, which can never be null. |
getName | public String getName()(Code) | | Retrieves the name for the transition. This should be unique for
state-machine assembly purposes, but it does not have to be.
a non-null name for this transition. |
getValidates | public IValidate[] getValidates()(Code) | | Returns all validation methods used to assert that the system can
perform this transition.
a list of associated validation instances. |
|
|