|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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)
EventProcessorListener
e
.
eventProcessingStarted
in interface EventProcessorListener
eventProcessingStarted
in class AbstractEventProcessorListener
public void eventProcessingFinished(StateMachineContext context, Event e, StateMachinePath path, StateMachineConfig c)
EventProcessorListener
e
.
eventProcessingFinished
in interface EventProcessorListener
eventProcessingFinished
in class AbstractEventProcessorListener
public void stateMachineCameToFinalState(StateMachineContext context, StateMachinePath path, StateMachineConfig config)
EventProcessorListener
stateMachineCameToFinalState
in interface EventProcessorListener
stateMachineCameToFinalState
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 EventProcessorListener
beforeOnEnterActionExecution
in class AbstractEventProcessorListener
public void afterOnEnterActionExecution(StateMachineContext context, StateMachinePath path, java.lang.String stateName, java.lang.String outputAction)
EventProcessorListener
afterOnEnterActionExecution
in interface EventProcessorListener
afterOnEnterActionExecution
in class AbstractEventProcessorListener
public void beforeOutputActionExecution(StateMachineContext context, StateMachinePath path, java.lang.String transition, java.lang.String outputAction)
EventProcessorListener
beforeOutputActionExecution
in interface EventProcessorListener
beforeOutputActionExecution
in class AbstractEventProcessorListener
public void afterOutputActionExecution(StateMachineContext context, StateMachinePath path, java.lang.String transition, java.lang.String outputAction)
EventProcessorListener
afterOutputActionExecution
in interface EventProcessorListener
afterOutputActionExecution
in class AbstractEventProcessorListener
public void beforeInputActionExecution(StateMachineContext context, StateMachinePath path, java.lang.String transition, java.lang.String inputAction)
EventProcessorListener
beforeInputActionExecution
in interface EventProcessorListener
beforeInputActionExecution
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 EventProcessorListener
afterInputActionExecution
in class AbstractEventProcessorListener
public void transitionCandidate(StateMachineContext context, StateMachinePath path, java.lang.String state, Event event, java.lang.String transition)
EventProcessorListener
transitionCandidate
in interface EventProcessorListener
transitionCandidate
in class AbstractEventProcessorListener
public void transitionFound(StateMachineContext context, StateMachinePath path, java.lang.String state, Event event, java.lang.String transition)
EventProcessorListener
transitionFound
in interface EventProcessorListener
transitionFound
in class AbstractEventProcessorListener
public void transitionNotFound(StateMachineContext context, StateMachinePath path, java.lang.String state, Event event)
EventProcessorListener
transitionNotFound
in interface EventProcessorListener
transitionNotFound
in class AbstractEventProcessorListener
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |