it.amattioli.workstate.core
Class SimpleState
java.lang.Object
it.amattioli.workstate.core.State
it.amattioli.workstate.core.RealState
it.amattioli.workstate.core.SimpleState
- All Implemented Interfaces:
- AttributeHandler, AttributeReader, Receiver
public class SimpleState
- extends RealState
| Methods inherited from class it.amattioli.workstate.core.RealState |
addAllAttributes, enter, equals, exit, getAllAttributes, getAttribute, getLocalAttributes, getTag, hasAllowedAttribute, hasOwnAttribute, reEnter, reExit, restore, setAttribute, toString |
| Methods inherited from class it.amattioli.workstate.core.State |
addAvailableEvents, buildEvent, checkActive, findAncestor, getAvailableEvents, getId, getMemento, getParent, getRootMachine, hasMetaState, isActive, isRegion |
SimpleState
public SimpleState(MetaSimpleState metaState,
CompositeState parent)
receiveEvent
public void receiveEvent(Event event)
throws WorkflowException
- Specified by:
receiveEvent in class State
- Throws:
WorkflowException
admitEvent
public boolean admitEvent(Event event)
- Specified by:
admitEvent in class State
getMemento
protected StateMemento getMemento(StateMemento parent)
- Specified by:
getMemento in class State
receive
public void receive(Visitor visitor)
Copyright © 2011. All Rights Reserved.