org.squirrelframework.foundation.fsm.MutableStateMachine Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of squirrel-foundation Show documentation
Show all versions of squirrel-foundation Show documentation
foundation module of squirrel framework which provided event driven infrastructure and a finite state machine implementation.
package org.squirrelframework.foundation.fsm;
public interface MutableStateMachine, S, E, C> extends StateMachine {
/**
* Set last active child state of parent state
* @param parentStateId id of parent state
* @param childStateId id of child state
*/
void setLastActiveChildState(S parentStateId, S childStateId);
void setSubState(S parentState, S subState);
void removeSubState(S parentState, S subState);
void removeSubStatesOn(S parentState);
}