it.amattioli.workstate.core
Class MetaFinalState

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.MetaFinalState
All Implemented Interfaces:
Receiver

public class MetaFinalState
extends MetaPseudoState

Author:
a.mattioli

Constructor Summary
MetaFinalState()
           
 
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

MetaFinalState

public MetaFinalState()
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.