|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.evelopers.unimod.runtime.AbstractEventProcessorListener
com.evelopers.unimod.runtime.logger.SimpleLogger
Simple pluggable logger unit. Use Thread.currentThread() as identifier of execution process to handle offsets. Remember new offset after Position.START and forget it after Position.FINISH.
| Constructor Summary | |
SimpleLogger(Logger log)
|
|
| Method Summary | |
void |
afterInputActionExecution(StateMachineContext context,
StateMachinePath path,
java.lang.String transition,
java.lang.String inputAction,
java.lang.String value)
Input action was executed |
void |
afterOnEnterActionExecution(StateMachineContext context,
StateMachinePath path,
java.lang.String stateName,
java.lang.String outputAction)
Output action was executed |
void |
afterOutputActionExecution(StateMachineContext context,
StateMachinePath path,
java.lang.String transition,
java.lang.String outputAction)
Output action was executed |
void |
afterSubmachinesExecution(StateMachineContext context,
Event event,
StateMachinePath path,
java.lang.String state)
|
void |
beforeInputActionExecution(StateMachineContext context,
StateMachinePath path,
java.lang.String transition,
java.lang.String inputAction)
Input action will be executed |
void |
beforeOnEnterActionExecution(StateMachineContext context,
StateMachinePath path,
java.lang.String stateName,
java.lang.String outputAction)
Output action will be executed |
void |
beforeOutputActionExecution(StateMachineContext context,
StateMachinePath path,
java.lang.String transition,
java.lang.String outputAction)
Output action will be executed |
void |
beforeSubmachinesExecution(StateMachineContext context,
Event event,
StateMachinePath path,
java.lang.String config)
|
void |
eventProcessingFinished(StateMachineContext context,
Event e,
StateMachinePath path,
StateMachineConfig c)
Event processor finished processing of event e. |
void |
eventProcessingStarted(StateMachineContext context,
Event e,
StateMachinePath path,
StateMachineConfig c)
Event processor started processing of event e. |
void |
stateMachineCameToFinalState(StateMachineContext context,
StateMachinePath path,
StateMachineConfig config)
Root state machine came to final state. |
void |
transitionCandidate(StateMachineContext context,
StateMachinePath path,
java.lang.String state,
Event event,
java.lang.String transition)
Examine transition if it may be selected as transition to go |
void |
transitionFound(StateMachineContext context,
StateMachinePath path,
java.lang.String state,
Event event,
java.lang.String transition)
Transition to go was found |
void |
transitionNotFound(StateMachineContext context,
StateMachinePath path,
java.lang.String state,
Event event)
Transition to go was not found. |
| Methods inherited from class com.evelopers.unimod.runtime.AbstractEventProcessorListener |
afterSubmachineExecution, beforeSubmachineExecution, comeToState, compositeTargetState, eventSkipped, transitionsOfSuperstate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleLogger(Logger log)
| Method Detail |
public void eventProcessingStarted(StateMachineContext context,
Event e,
StateMachinePath path,
StateMachineConfig c)
EventProcessorListenere.
eventProcessingStarted in interface EventProcessorListenereventProcessingStarted in class AbstractEventProcessorListener
public void eventProcessingFinished(StateMachineContext context,
Event e,
StateMachinePath path,
StateMachineConfig c)
EventProcessorListenere.
eventProcessingFinished in interface EventProcessorListenereventProcessingFinished in class AbstractEventProcessorListener
public void stateMachineCameToFinalState(StateMachineContext context,
StateMachinePath path,
StateMachineConfig config)
EventProcessorListener
stateMachineCameToFinalState in interface EventProcessorListenerstateMachineCameToFinalState in class AbstractEventProcessorListener
public void beforeSubmachinesExecution(StateMachineContext context,
Event event,
StateMachinePath path,
java.lang.String config)
public void afterSubmachinesExecution(StateMachineContext context,
Event event,
StateMachinePath path,
java.lang.String state)
public void beforeOnEnterActionExecution(StateMachineContext context,
StateMachinePath path,
java.lang.String stateName,
java.lang.String outputAction)
EventProcessorListener
beforeOnEnterActionExecution in interface EventProcessorListenerbeforeOnEnterActionExecution in class AbstractEventProcessorListener
public void afterOnEnterActionExecution(StateMachineContext context,
StateMachinePath path,
java.lang.String stateName,
java.lang.String outputAction)
EventProcessorListener
afterOnEnterActionExecution in interface EventProcessorListenerafterOnEnterActionExecution in class AbstractEventProcessorListener
public void beforeOutputActionExecution(StateMachineContext context,
StateMachinePath path,
java.lang.String transition,
java.lang.String outputAction)
EventProcessorListener
beforeOutputActionExecution in interface EventProcessorListenerbeforeOutputActionExecution in class AbstractEventProcessorListener
public void afterOutputActionExecution(StateMachineContext context,
StateMachinePath path,
java.lang.String transition,
java.lang.String outputAction)
EventProcessorListener
afterOutputActionExecution in interface EventProcessorListenerafterOutputActionExecution in class AbstractEventProcessorListener
public void beforeInputActionExecution(StateMachineContext context,
StateMachinePath path,
java.lang.String transition,
java.lang.String inputAction)
EventProcessorListener
beforeInputActionExecution in interface EventProcessorListenerbeforeInputActionExecution in class AbstractEventProcessorListener
public void afterInputActionExecution(StateMachineContext context,
StateMachinePath path,
java.lang.String transition,
java.lang.String inputAction,
java.lang.String value)
EventProcessorListener
afterInputActionExecution in interface EventProcessorListenerafterInputActionExecution in class AbstractEventProcessorListener
public void transitionCandidate(StateMachineContext context,
StateMachinePath path,
java.lang.String state,
Event event,
java.lang.String transition)
EventProcessorListener
transitionCandidate in interface EventProcessorListenertransitionCandidate in class AbstractEventProcessorListener
public void transitionFound(StateMachineContext context,
StateMachinePath path,
java.lang.String state,
Event event,
java.lang.String transition)
EventProcessorListener
transitionFound in interface EventProcessorListenertransitionFound in class AbstractEventProcessorListener
public void transitionNotFound(StateMachineContext context,
StateMachinePath path,
java.lang.String state,
Event event)
EventProcessorListener
transitionNotFound in interface EventProcessorListenertransitionNotFound in class AbstractEventProcessorListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||