All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.squirrelframework.foundation.fsm.StateMachineIntercepter Maven / Gradle / Ivy

Go to download

foundation module of squirrel framework which provided event driven infrastructure and a finite state machine implementation.

There is a newer version: 0.3.10
Show newest version
package org.squirrelframework.foundation.fsm;

public interface StateMachineIntercepter, S, E, C> {
    
    void onStart(T stateMachine);
    
    void onTerminate(T stateMachine);
    
    void beforeOnTransition(T stateMachine, S sourceState, E event, C context);
    
    void onTransitionBegin(T stateMachine, S sourceState, E event, C context);
    
    void onTransitionComplete(T stateMachine, S sourceState, S targetState, E event, C context);
    
    void onTransitionDeclined(T stateMachine, S sourceState, E event, C context);
    
    void onTransitionCausedException(Exception e, T stateMachine, S sourceState, E event, C context);
    
    void afterOnTransition(T stateMachine, S sourceState, E event, C context);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy