Public Member Functions | |
def | __init__ |
def | getXml |
def | dirtyXmlCache |
def | run |
Runs StateMachine. | |
Public Attributes | |
engine | |
stateMachine | |
publisher | |
f | |
pathFinder | |
cachedXml | |
actionValues | |
Private Member Functions | |
def | _getStateByName |
def | _runState |
Runs a single state from StateMachine. | |
def | _runAction |
def | _resetXmlNodes |
Runs a StateMachine instance.
Runs a StateMachine instance.
def Peach::Engine::state::StateEngine::__init__ | ( | self, | ||
engine, | ||||
stateMachine, | ||||
publisher | ||||
) |
engine - Engine stateMachien - StateMachine to use publisher - Publisher to use
def Peach::Engine::state::StateEngine::_getStateByName | ( | self, | ||
stateName | ||||
) | [private] |
Locate a State object by name in the StateMachine.
def Peach::Engine::state::StateEngine::_resetXmlNodes | ( | self, | ||
node | ||||
) | [private] |
Reset XML node tree starting at 'node'. We will remove any attribute calleed: value currentValue defaultValue value-Encoded currentValue-Encoded defaultValue-Encoded
def Peach::Engine::state::StateEngine::_runAction | ( | self, | ||
action, | ||||
mutator | ||||
) | [private] |
def Peach::Engine::state::StateEngine::_runState | ( | self, | ||
state, | ||||
mutator | ||||
) | [private] |
def Peach::Engine::state::StateEngine::dirtyXmlCache | ( | self | ) |
Mark XML cache as dirty.
def Peach::Engine::state::StateEngine::getXml | ( | self | ) |
Get the XML document representation of this DOM for use by slurp, etc. For speed we will cache the generated XML until an operation occurs to dirty the cache.
def Peach::Engine::state::StateEngine::run | ( | self, | ||
mutator | ||||
) |
Runs StateMachine.
Perform a single run of a StateMachine using the provided mutation strategy.
Perform a single run of a StateMachine using the provided mutator.