Uses of Interface
io.hektor.fsm.builder.StateBuilder
Packages that use StateBuilder
-
Uses of StateBuilder in io.hektor.fsm.builder
Methods in io.hektor.fsm.builder that return StateBuilderModifier and TypeMethodDescriptiondefault StateBuilder<S,C, D> StateBuilder.withEnterAction(BiConsumer<C, D> action) StateBuilder<S,C, D> StateBuilder.withEnterAction(BiConsumer<C, D> action, Label label) Register an action that will be executed upon entering this state.default StateBuilder<S,C, D> StateBuilder.withExitAction(BiConsumer<C, D> action) StateBuilder<S,C, D> StateBuilder.withExitAction(BiConsumer<C, D> action, Label label) Register an action that will be executed upon exiting this state.StateBuilder<S,C, D> FSMBuilder.withFinalState(S state) default StateBuilder<S,C, D> StateBuilder.withInitialEnterAction(BiConsumer<C, D> action) StateBuilder<S,C, D> StateBuilder.withInitialEnterAction(BiConsumer<C, D> action, Label label) Register an action that will be executed upon entering this state the very first time only.StateBuilder<S,C, D> FSMBuilder.withInitialState(S state) default StateBuilder<S,C, D> StateBuilder.withSelfEnterAction(BiConsumer<C, D> action) StateBuilder<S,C, D> StateBuilder.withSelfEnterAction(BiConsumer<C, D> action, Label label) Register an action that will trigger when you transition to/from the same state.StateBuilder<S,C, D> StateBuilder<S,C, D> StateBuilder.withStateTimeout()Set the maximum time we allow to stay in this state.StateBuilder<S,C, D> FSMBuilder.withTransientState(S state) -
Uses of StateBuilder in io.hektor.fsm.builder.impl
Classes in io.hektor.fsm.builder.impl that implement StateBuilderModifier and TypeClassDescriptionclassStateBuilderImpl<S extends Enum<S>,C extends Context, D extends Data>