org.squirrelframework.foundation.fsm.MutableState 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;
import java.util.List;
public interface MutableState, S, E, C> extends ImmutableState {
MutableTransition addTransitionOn(E event);
void addEntryAction(Action newAction);
void addEntryActions(List extends Action> newActions);
void addExitAction(Action newAction);
void addExitActions(List extends Action> newActions);
void setParentState(MutableState parent);
void addChildState(MutableState childState);
void setInitialState(MutableState childInitialState);
void setLevel(int level);
void setHistoryType(HistoryType historyType);
void setFinal(boolean isFinal);
void setCompositeType(StateCompositeType compositeType);
void prioritizeTransitions();
}