org.apache.lenya.cms.usecase
Class StateMachine.Model

java.lang.Object
  extended by org.apache.lenya.cms.usecase.StateMachine.Model
Enclosing class:
StateMachine

public static class StateMachine.Model
extends java.lang.Object

A state machine model.


Constructor Summary
StateMachine.Model(java.lang.String initialState, StateMachine.Transition[] transitions)
           
 
Method Summary
 java.lang.String getInitialState()
           
 StateMachine.Transition[] getTransitions()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateMachine.Model

public StateMachine.Model(java.lang.String initialState,
                          StateMachine.Transition[] transitions)
Parameters:
initialState - The initial state.
transitions - The transitions.
Method Detail

getInitialState

public java.lang.String getInitialState()
Returns:
The initial state.

getTransitions

public StateMachine.Transition[] getTransitions()
Returns:
The transitions.


Copyright $ Apache Software Foundation. All Rights Reserved.