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

org.squirrelframework.foundation.fsm.ImmutableLinkedState 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;

/**
 * A linked state specifies the insertion of the specification of a submachine state machine. 
 * The state machine that contains the linked state is called the containing state machine. 
 * The same state machine may be a submachine more than once in the context of a single containing 
 * state machine.  
 * 
 * A linked state is semantically equivalent to a composite state. The regions of the submachine 
 * state machine are the regions of the composite state. The entry, exit, and behavior actions and 
 * internal transitions are defined as part of the state. Submachine state is a decomposition 
 * mechanism that allows factoring of common behaviors and their reuse.
 * 
 * @author Henry.He
 *
 * @param  type of State Machine
 * @param  type of State
 * @param  type of Event
 * @param  type of Context
 */
public interface ImmutableLinkedState, S, E, C> extends ImmutableState {
    
    /**
     * @return linked state machine
     */
    StateMachine, S, E, C> getLinkedStateMachine();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy