it.amattioli.workstate.core
Class MetaInitialState

Show UML class diagram
java.lang.Object
  extended by it.amattioli.workstate.core.MetaState
      extended by it.amattioli.workstate.core.MetaPseudoState
          extended by it.amattioli.workstate.core.MetaInitialState
All Implemented Interfaces:
Receiver

public class MetaInitialState
extends MetaPseudoState


Constructor Summary
MetaInitialState()
           
 
Method Summary
 State newState(CompositeState parent)
          Create a new State based on this meta-state.
 String toString()
           
 
Methods inherited from class it.amattioli.workstate.core.MetaPseudoState
equals, receive
 
Methods inherited from class it.amattioli.workstate.core.MetaState
addAvailableEvents, addTransition, checkParentState, descendFrom, findTriggeredTransition, getAvailableEvents, getConfig, getParent, setParent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetaInitialState

public MetaInitialState()
Method Detail

newState

public State newState(CompositeState parent)
Description copied from class: MetaState
Create a new State based on this meta-state. Implementations of this method must call MetaState.checkParentState(CompositeState) to check that the passed state is admittable as parent state for the state that will be created.

Specified by:
newState in class MetaState
Parameters:
parent - the parent state for the state that will be created
Returns:
the new state

toString

public String toString()
Overrides:
toString in class MetaPseudoState


Copyright © 2011. All Rights Reserved.