it.amattioli.workstate.core
Class ConcurrentState

Show UML class diagram
java.lang.Object
  extended by it.amattioli.workstate.core.State
      extended by it.amattioli.workstate.core.RealState
          extended by it.amattioli.workstate.core.CompositeState
              extended by it.amattioli.workstate.core.ConcurrentState
All Implemented Interfaces:
AttributeHandler, AttributeReader, Receiver

public class ConcurrentState
extends CompositeState


Field Summary
 
Fields inherited from class it.amattioli.workstate.core.CompositeState
substates
 
Constructor Summary
ConcurrentState(MetaConcurrentState metaState, CompositeState parent)
           
 
Method Summary
 void enter()
          Enter this state and position itself in the default sub-state of every region.
 void restore(StateMemento memento)
           
 void terminate()
           
 
Methods inherited from class it.amattioli.workstate.core.CompositeState
addAvailableEvents, admitEvent, buildEvent, equals, exit, getMemento, isComplete, receive, receiveEvent, reEnter
 
Methods inherited from class it.amattioli.workstate.core.RealState
addAllAttributes, getAllAttributes, getAttribute, getLocalAttributes, getTag, hasAllowedAttribute, hasOwnAttribute, reExit, setAttribute, toString
 
Methods inherited from class it.amattioli.workstate.core.State
checkActive, findAncestor, getAvailableEvents, getId, getMemento, getParent, getRootMachine, hasMetaState, isActive, isRegion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConcurrentState

public ConcurrentState(MetaConcurrentState metaState,
                       CompositeState parent)
Method Detail

enter

public void enter()
           throws WorkflowException
Enter this state and position itself in the default sub-state of every region.

Overrides:
enter in class RealState
Throws:
WorkflowException

restore

public void restore(StateMemento memento)
             throws WorkflowException
Overrides:
restore in class RealState
Throws:
WorkflowException

terminate

public void terminate()
               throws WorkflowException
Overrides:
terminate in class CompositeState
Throws:
WorkflowException


Copyright © 2011. All Rights Reserved.