Index
All Classes and Interfaces|All Packages|Serialized Form
A
- accept(E, C, D) - Method in interface io.hektor.fsm.Action
-
Performs this operation on the given arguments.
- accept(Object, C, D) - Method in class io.hektor.fsm.impl.StateImpl
- accept(Object, C, D) - Method in interface io.hektor.fsm.State
-
See if this
Statewould accept the given event. - acceptVisitor(FsmVisitor<S, C, D>) - Method in interface io.hektor.fsm.Definition
- acceptVisitor(FsmVisitor<S, C, D>) - Method in class io.hektor.fsm.impl.DefinitionImpl
- acceptVisitor(FsmVisitor<S, C, D>) - Method in class io.hektor.fsm.impl.StateImpl
- acceptVisitor(FsmVisitor<S, C, D>) - Method in class io.hektor.fsm.impl.TransitionImpl
- acceptVisitor(FsmVisitor<S, C, D>) - Method in interface io.hektor.fsm.State
- acceptVisitor(FsmVisitor<S, C, D>) - Method in interface io.hektor.fsm.Transition
- Action<E,
C extends Context, D extends Data> - Interface in io.hektor.fsm -
Represents an action to be performed in the context of a FSM.
- ActionAlreadyDefinedException - Exception in io.hektor.fsm.builder.exceptions
-
Indicates that an action was already associated with the object (
StateorTransition) - ActionAlreadyDefinedException() - Constructor for exception io.hektor.fsm.builder.exceptions.ActionAlreadyDefinedException
- ActionAlreadyDefinedException(String) - Constructor for exception io.hektor.fsm.builder.exceptions.ActionAlreadyDefinedException
- asDefaultTransition() - Method in interface io.hektor.fsm.builder.EventBuildStep
B
- build() - Method in class io.hektor.fsm.builder.FSMBuilder
-
Build the definition of the state machine and validate that all is well.
- build() - Method in class io.hektor.fsm.builder.impl.StateBuilderImpl
- build() - Method in class io.hektor.fsm.builder.impl.TransitionBuilderImpl
- build() - Method in interface io.hektor.fsm.builder.StateBuilder
- build() - Method in interface io.hektor.fsm.builder.TransitionBuilder
C
- cancel() - Method in interface io.hektor.fsm.Cancellable
- Cancellable - Interface in io.hektor.fsm
- consume() - Method in interface io.hektor.fsm.builder.TransitionBuilder
- Context - Interface in io.hektor.fsm
- ContextTypeBuildStep<S extends Enum<S>> - Interface in io.hektor.fsm.builder
- copyContext(BiConsumer<String, String>) - Method in record class io.hektor.fsm.impl.FsmLogContext
- currentState() - Method in record class io.hektor.fsm.impl.FsmLogContext
-
Returns the value of the
currentStaterecord component.
D
- Data - Interface in io.hektor.fsm
- DataTypeBuildStep<S extends Enum<S>,
C extends Context> - Interface in io.hektor.fsm.builder - DefaultTransitionAlreadySpecifiedException - Exception in io.hektor.fsm.builder.exceptions
-
You can only have a single default transition for a transient state.
- DefaultTransitionAlreadySpecifiedException(Enum) - Constructor for exception io.hektor.fsm.builder.exceptions.DefaultTransitionAlreadySpecifiedException
- Definition<S extends Enum<S>,
C extends Context, D extends Data> - Interface in io.hektor.fsm - DefinitionImpl<S extends Enum<S>,
C extends Context, D extends Data> - Class in io.hektor.fsm.impl - DefinitionImpl(String, State<S, C, D>[]) - Constructor for class io.hektor.fsm.impl.DefinitionImpl
E
- end() - Method in class io.hektor.fsm.visitor.PlantUmlVisitor
- equals(Object) - Method in record class io.hektor.fsm.impl.FsmLogContext
-
Indicates whether some other object is "equal to" this one.
- event() - Method in record class io.hektor.fsm.impl.FsmLogContext
-
Returns the value of the
eventrecord component. - EventBuildStep<S extends Enum<S>,
C extends Context, D extends Data> - Interface in io.hektor.fsm.builder
F
- FinalStateAlreadyDefinedException - Exception in io.hektor.fsm.builder.exceptions
-
Indicates that you tried to define a final state twice.
- FinalStateAlreadyDefinedException(Enum) - Constructor for exception io.hektor.fsm.builder.exceptions.FinalStateAlreadyDefinedException
- FinalStateIsTransientException - Exception in io.hektor.fsm.builder.exceptions
-
Indicates that you tried to define the final state as transient, which you cannot do.
- FinalStateIsTransientException(Enum) - Constructor for exception io.hektor.fsm.builder.exceptions.FinalStateIsTransientException
- FinalStateTransitionsException - Exception in io.hektor.fsm.builder.exceptions
-
Indicates that you tried to define transitions on a final state.
- FinalStateTransitionsException(Enum) - Constructor for exception io.hektor.fsm.builder.exceptions.FinalStateTransitionsException
- format(Object) - Static method in record class io.hektor.fsm.impl.FsmLogContext
-
TODO: should probably allow to pass in their own formatting logic.
- friendlyName() - Method in record class io.hektor.fsm.impl.FsmLogContext
-
Returns the value of the
friendlyNamerecord component. - FSM<S extends Enum<S>,
C extends Context, D extends Data> - Interface in io.hektor.fsm - FsmAlertCode - Enum Class in io.hektor.fsm
-
Generic
Alertcodes for an FSM. - FSMBuilder<S extends Enum<S>,
C extends Context, D extends Data> - Class in io.hektor.fsm.builder - FSMBuilder(S[]) - Constructor for class io.hektor.fsm.builder.FSMBuilder
- FSMBuilderException - Exception in io.hektor.fsm.builder.exceptions
- FSMBuilderException() - Constructor for exception io.hektor.fsm.builder.exceptions.FSMBuilderException
- FSMBuilderException(FSMBuilderException.ErrorCode, Object...) - Constructor for exception io.hektor.fsm.builder.exceptions.FSMBuilderException
- FSMBuilderException(String) - Constructor for exception io.hektor.fsm.builder.exceptions.FSMBuilderException
- FSMBuilderException.ErrorCode - Enum Class in io.hektor.fsm.builder.exceptions
-
There are many different issues that can occur when building the state machine and instead of having individual exceptions for everything, we have these error codes.
- FsmImpl<S extends Enum<S>,
C extends Context, D extends Data> - Class in io.hektor.fsm.impl - FsmImpl(Object, String, State[], S, C, D, BiConsumer<S, Object>, TransitionListener<S>) - Constructor for class io.hektor.fsm.impl.FsmImpl
- FsmLogContext<S extends Enum<S>> - Record Class in io.hektor.fsm.impl
- FsmLogContext(String, Object) - Constructor for record class io.hektor.fsm.impl.FsmLogContext
- FsmLogContext(String, Object, S, S, Object) - Constructor for record class io.hektor.fsm.impl.FsmLogContext
-
Creates an instance of a
FsmLogContextrecord class. - FsmVisitor<S extends Enum<S>,
C extends Context, D extends Data> - Interface in io.hektor.fsm.visitor
G
- getAction() - Method in class io.hektor.fsm.impl.TransitionImpl
- getAction() - Method in interface io.hektor.fsm.Transition
-
Get the associated action wih this transition, if it exists.
- getActionLabel() - Method in class io.hektor.fsm.impl.TransitionImpl
- getActionLabel() - Method in interface io.hektor.fsm.Transition
- getCode() - Method in enum class io.hektor.fsm.FsmAlertCode
- getConnectedNodes() - Method in class io.hektor.fsm.impl.StateImpl
- getConnectedNodes() - Method in interface io.hektor.fsm.State
-
Retrieve a list of all other states this state is connected to.
- getEnterAction() - Method in class io.hektor.fsm.impl.StateImpl
- getEnterAction() - Method in interface io.hektor.fsm.State
- getEnterActionLabel() - Method in class io.hektor.fsm.impl.StateImpl
- getEnterActionLabel() - Method in interface io.hektor.fsm.State
- getErrorCode() - Method in exception io.hektor.fsm.builder.exceptions.FSMBuilderException
- getEventType() - Method in class io.hektor.fsm.impl.TransitionImpl
- getEventType() - Method in interface io.hektor.fsm.Transition
- getExitAction() - Method in class io.hektor.fsm.impl.StateImpl
- getExitAction() - Method in interface io.hektor.fsm.State
- getExitActionLabel() - Method in class io.hektor.fsm.impl.StateImpl
- getExitActionLabel() - Method in interface io.hektor.fsm.State
- getGuardLabel() - Method in class io.hektor.fsm.impl.TransitionImpl
- getGuardLabel() - Method in interface io.hektor.fsm.Transition
- getInitialEnterAction() - Method in class io.hektor.fsm.impl.StateImpl
- getInitialEnterAction() - Method in interface io.hektor.fsm.State
- getInitialEnterActionLabel() - Method in class io.hektor.fsm.impl.StateImpl
- getInitialEnterActionLabel() - Method in interface io.hektor.fsm.State
- getLogger() - Method in class io.hektor.fsm.impl.FsmImpl
- getMessage() - Method in enum class io.hektor.fsm.FsmAlertCode
- getScheduler() - Method in interface io.hektor.fsm.Context
- getSelfEnterAction() - Method in class io.hektor.fsm.impl.StateImpl
- getSelfEnterAction() - Method in interface io.hektor.fsm.State
- getSelfEnterActionLabel() - Method in class io.hektor.fsm.impl.StateImpl
- getSelfEnterActionLabel() - Method in interface io.hektor.fsm.State
- getState() - Method in exception io.hektor.fsm.builder.exceptions.StateBuilderException
-
Get the state that had already been defined.
- getState() - Method in class io.hektor.fsm.builder.impl.StateBuilderImpl
- getState() - Method in interface io.hektor.fsm.builder.StateBuilder
- getState() - Method in interface io.hektor.fsm.FSM
-
The state in which this FSM currently is.
- getState() - Method in class io.hektor.fsm.impl.FsmImpl
- getState() - Method in class io.hektor.fsm.impl.StateImpl
- getState() - Method in interface io.hektor.fsm.State
-
Retrieve the enum value of the state.
- getStatefulAction() - Method in class io.hektor.fsm.impl.TransitionImpl
- getStatefulAction() - Method in interface io.hektor.fsm.Transition
- getTemplate() - Method in enum class io.hektor.fsm.builder.exceptions.FSMBuilderException.ErrorCode
- getToState() - Method in class io.hektor.fsm.impl.TransitionImpl
- getToState() - Method in interface io.hektor.fsm.Transition
-
This
Transitionrepresents the transition to this particular state. - getTransformation() - Method in class io.hektor.fsm.impl.TransitionImpl
- getTransformation() - Method in interface io.hektor.fsm.Transition
-
Get the transformation associated with this
Transition. - getTransformationLabel() - Method in class io.hektor.fsm.impl.TransitionImpl
- getTransformationLabel() - Method in interface io.hektor.fsm.Transition
- getTransitionsToState(S) - Method in class io.hektor.fsm.impl.StateImpl
- Guard<E,
C extends Context, D extends Data> - Interface in io.hektor.fsm -
A specialized
Predicatethat accepts three arguments. - GuardAlreadyDefinedException - Exception in io.hektor.fsm.builder.exceptions
-
Indicates that a guard was already associated with the object (
StateorTransition) - GuardAlreadyDefinedException() - Constructor for exception io.hektor.fsm.builder.exceptions.GuardAlreadyDefinedException
- GuardAlreadyDefinedException(String) - Constructor for exception io.hektor.fsm.builder.exceptions.GuardAlreadyDefinedException
H
- hashCode() - Method in record class io.hektor.fsm.impl.FsmLogContext
-
Returns a hash code value for this object.
I
- ILLEGAL_TRANSFORMATION_ON_TRANSITION - Enum constant in enum class io.hektor.fsm.builder.exceptions.FSMBuilderException.ErrorCode
-
You can optionally specify a transformation with your transition but you can only do so if the state you are transitioning to is a so-called transient state.
- IllegalTransformationOnTransitionException - Exception in io.hektor.fsm.builder.exceptions
-
You can optionally specify a transformation with your transition but you can only do so if the state you are transitioning to is a so-called transient state.
- IllegalTransformationOnTransitionException(Enum, Enum) - Constructor for exception io.hektor.fsm.builder.exceptions.IllegalTransformationOnTransitionException
- InitialStateAlreadyDefinedException - Exception in io.hektor.fsm.builder.exceptions
-
Indicates that you tried to define an initial state twice.
- InitialStateAlreadyDefinedException(Enum) - Constructor for exception io.hektor.fsm.builder.exceptions.InitialStateAlreadyDefinedException
- io.hektor.fsm - package io.hektor.fsm
- io.hektor.fsm.builder - package io.hektor.fsm.builder
- io.hektor.fsm.builder.exceptions - package io.hektor.fsm.builder.exceptions
- io.hektor.fsm.builder.impl - package io.hektor.fsm.builder.impl
- io.hektor.fsm.docs - package io.hektor.fsm.docs
- io.hektor.fsm.impl - package io.hektor.fsm.impl
- io.hektor.fsm.visitor - package io.hektor.fsm.visitor
- isFinal() - Method in class io.hektor.fsm.builder.impl.StateBuilderImpl
- isFinal() - Method in class io.hektor.fsm.impl.StateImpl
- isFinal() - Method in interface io.hektor.fsm.State
-
Check whether or not this state is final.
- isFinal(boolean) - Method in class io.hektor.fsm.builder.impl.StateBuilderImpl
- isInital() - Method in class io.hektor.fsm.builder.impl.StateBuilderImpl
- isInital() - Method in class io.hektor.fsm.impl.StateImpl
- isInital() - Method in interface io.hektor.fsm.State
-
Check whether or not this state is initial.
- isInital(boolean) - Method in class io.hektor.fsm.builder.impl.StateBuilderImpl
- isStarted() - Method in interface io.hektor.fsm.FSM
- isStarted() - Method in class io.hektor.fsm.impl.FsmImpl
- isTerminated() - Method in interface io.hektor.fsm.FSM
-
The FSM is in its terminated state if it has reached the final state.
- isTerminated() - Method in class io.hektor.fsm.impl.FsmImpl
- isTransient() - Method in class io.hektor.fsm.impl.StateImpl
- isTransient() - Method in interface io.hektor.fsm.State
-
Check whether or not this state is a transient state.
L
- label(String) - Static method in class io.hektor.fsm.docs.Label
- Label - Class in io.hektor.fsm.docs
-
Simple label, which various tools can use when they generate documentation.
M
- match(Object, C, D) - Method in class io.hektor.fsm.impl.TransitionImpl
- match(Object, C, D) - Method in interface io.hektor.fsm.Transition
-
See if the given event is matching this transition.
N
- newInstance(Object, C, D) - Method in interface io.hektor.fsm.Definition
- newInstance(Object, C, D) - Method in class io.hektor.fsm.impl.DefinitionImpl
- newInstance(Object, C, D, BiConsumer<S, Object>, TransitionListener<S>) - Method in interface io.hektor.fsm.Definition
-
Create a new
FSMbased off of thisDefinitionand assign a unique UUID to this state machine. - newInstance(Object, C, D, BiConsumer<S, Object>, TransitionListener<S>) - Method in class io.hektor.fsm.impl.DefinitionImpl
- nextState() - Method in record class io.hektor.fsm.impl.FsmLogContext
-
Returns the value of the
nextStaterecord component. - NO_FINAL_STATE - Enum constant in enum class io.hektor.fsm.builder.exceptions.FSMBuilderException.ErrorCode
-
Every FSM must have its final state defined.
- NO_INITIAL_STATE - Enum constant in enum class io.hektor.fsm.builder.exceptions.FSMBuilderException.ErrorCode
-
Every FSM must have an initial state or we do not know where to start off with.
O
- of(Class<S>) - Static method in interface io.hektor.fsm.FSM
- ofContextType(Class<C>) - Method in interface io.hektor.fsm.builder.ContextTypeBuildStep
- onEvent(Class<E>) - Method in interface io.hektor.fsm.builder.EventBuildStep
- onEvent(Object) - Method in interface io.hektor.fsm.FSM
-
Deliver an event to this
FSM. - onEvent(Object) - Method in class io.hektor.fsm.impl.FsmImpl
- onTransition(S, S, Object) - Method in interface io.hektor.fsm.TransitionListener
-
Will be invoked just before the
Transitionis executed by theFSM.
P
- PlantUmlVisitor<S extends Enum<S>,
C extends Context, D extends Data> - Class in io.hektor.fsm.visitor - PlantUmlVisitor() - Constructor for class io.hektor.fsm.visitor.PlantUmlVisitor
R
- reStartAndEnter(S) - Method in interface io.hektor.fsm.FSM
-
Re-start the FSM and enter the specified state.
- reStartAndEnter(S) - Method in class io.hektor.fsm.impl.FsmImpl
S
- schedule(Supplier<T>, Duration) - Method in interface io.hektor.fsm.Scheduler
-
Schedule to deliver an event to the
FSMat some later point in time. - schedule(T, Duration) - Method in interface io.hektor.fsm.Scheduler
- Scheduler - Interface in io.hektor.fsm
- start() - Method in interface io.hektor.fsm.FSM
-
You must call
FSM.start()on theFSMbefore it can be used. - start() - Method in class io.hektor.fsm.impl.FsmImpl
- start() - Method in class io.hektor.fsm.visitor.PlantUmlVisitor
- State<S extends Enum<S>,
C extends Context, D extends Data> - Interface in io.hektor.fsm - StateAlreadyDefinedException - Exception in io.hektor.fsm.builder.exceptions
-
You can only define the same state once.
- StateAlreadyDefinedException(Enum) - Constructor for exception io.hektor.fsm.builder.exceptions.StateAlreadyDefinedException
- StateBuilder<S extends Enum<S>,
C extends Context, D extends Data> - Interface in io.hektor.fsm.builder - StateBuilderException - Exception in io.hektor.fsm.builder.exceptions
- StateBuilderException(Enum) - Constructor for exception io.hektor.fsm.builder.exceptions.StateBuilderException
- StateBuilderException(Enum, String) - Constructor for exception io.hektor.fsm.builder.exceptions.StateBuilderException
- StateBuilderImpl<S extends Enum<S>,
C extends Context, D extends Data> - Class in io.hektor.fsm.builder.impl - StateBuilderImpl(S) - Constructor for class io.hektor.fsm.builder.impl.StateBuilderImpl
- StateBuilderImpl(S, boolean) - Constructor for class io.hektor.fsm.builder.impl.StateBuilderImpl
- StateImpl<S extends Enum<S>,
C extends Context, D extends Data> - Class in io.hektor.fsm.impl - StateImpl(S, boolean, boolean, boolean, List<Transition<?, S, C, D>>, Optional<Transition<?, S, C, D>>, BiConsumer<C, D>, Label, BiConsumer<C, D>, Label, BiConsumer<C, D>, Label, BiConsumer<C, D>, Label) - Constructor for class io.hektor.fsm.impl.StateImpl
- StateNotDefinedException - Exception in io.hektor.fsm.builder.exceptions
-
If you define a transition from A to B but then you never end up defining the state B, you will get this exception thrown when trying to build the FSM.
- StateNotDefinedException(Enum) - Constructor for exception io.hektor.fsm.builder.exceptions.StateNotDefinedException
T
- test(E, C, D) - Method in interface io.hektor.fsm.Guard
-
Evaluates this predicate on the given arguments.
- toString() - Method in class io.hektor.fsm.docs.Label
- toString() - Method in record class io.hektor.fsm.impl.FsmLogContext
-
Returns a string representation of this record class.
- TransientLoopDetectedException - Exception in io.hektor.fsm.builder.exceptions
-
If you would be able to specify a transition from a transient state to another transient state (or itself) you will likely end up in a loop.
- TransientLoopDetectedException(Enum) - Constructor for exception io.hektor.fsm.builder.exceptions.TransientLoopDetectedException
- TransientStateMissingTransitionException - Exception in io.hektor.fsm.builder.exceptions
-
Indicates that you defined a transient state but didn't specify any default transitions, which you must for a transient state or you will get stuck in that state and then it wouldn't be a transient state, now would it!
- TransientStateMissingTransitionException(Enum) - Constructor for exception io.hektor.fsm.builder.exceptions.TransientStateMissingTransitionException
- transition(S, S, Object) - Method in record class io.hektor.fsm.impl.FsmLogContext
- Transition<E,
S extends Enum<S>, C extends Context, D extends Data> - Interface in io.hektor.fsm -
This interface represents the transition between two states.
- TransitionBuilder<E,
S extends Enum<S>, C extends Context, D extends Data> - Interface in io.hektor.fsm.builder - TransitionBuilderImpl<E,
S extends Enum<S>, C extends Context, D extends Data> - Class in io.hektor.fsm.builder.impl - TransitionBuilderImpl(S, Class<E>) - Constructor for class io.hektor.fsm.builder.impl.TransitionBuilderImpl
- TransitionBuilderImpl(S, Class<E>, boolean) - Constructor for class io.hektor.fsm.builder.impl.TransitionBuilderImpl
- TransitionBuilderImpl(S, Class<E>, boolean, boolean) - Constructor for class io.hektor.fsm.builder.impl.TransitionBuilderImpl
- TransitionImpl<E,
S extends Enum<S>, C extends Context, D extends Data> - Class in io.hektor.fsm.impl - TransitionImpl(String, S, Class<E>, Predicate<E>, Guard<E, C, D>, Consumer<E>, Action<E, C, D>, Function<E, ?>) - Constructor for class io.hektor.fsm.impl.TransitionImpl
- TransitionImpl(String, S, Class<E>, Predicate<E>, Guard<E, C, D>, Optional<Label>, Consumer<E>, Action<E, C, D>, Optional<Label>, Function<E, ?>, Optional<Label>) - Constructor for class io.hektor.fsm.impl.TransitionImpl
- TransitionListener<S extends Enum<S>> - Interface in io.hektor.fsm
- TransitionMissingException - Exception in io.hektor.fsm.builder.exceptions
-
Indicates that you didn't define any transitions for the given state.
- TransitionMissingException(Enum) - Constructor for exception io.hektor.fsm.builder.exceptions.TransitionMissingException
- transitionTo(S) - Method in class io.hektor.fsm.builder.impl.StateBuilderImpl
- transitionTo(S) - Method in interface io.hektor.fsm.builder.StateBuilder
- transitionToSelf() - Method in class io.hektor.fsm.builder.impl.StateBuilderImpl
- transitionToSelf() - Method in interface io.hektor.fsm.builder.StateBuilder
U
- UNHANDLED_FSM_EVENT - Enum constant in enum class io.hektor.fsm.FsmAlertCode
-
If the
FSMreceives an event for which there is not defined transition, we will log a warning. - unhandledEvent(S, Object) - Method in record class io.hektor.fsm.impl.FsmLogContext
- uuid() - Method in record class io.hektor.fsm.impl.FsmLogContext
-
Returns the value of the
uuidrecord component.
V
- valueOf(String) - Static method in enum class io.hektor.fsm.builder.exceptions.FSMBuilderException.ErrorCode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.hektor.fsm.FsmAlertCode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.hektor.fsm.builder.exceptions.FSMBuilderException.ErrorCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.hektor.fsm.FsmAlertCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- visit(State<S, C, D>) - Method in interface io.hektor.fsm.visitor.FsmVisitor
- visit(State<S, C, D>) - Method in class io.hektor.fsm.visitor.PlantUmlVisitor
- visit(S, Transition<?, S, C, D>) - Method in class io.hektor.fsm.visitor.PlantUmlVisitor
- visit(S, Transition<? extends Object, S, C, D>) - Method in interface io.hektor.fsm.visitor.FsmVisitor
W
- withAction(Action<E, C, D>) - Method in interface io.hektor.fsm.builder.TransitionBuilder
- withAction(Action<E, C, D>, Label) - Method in class io.hektor.fsm.builder.impl.TransitionBuilderImpl
- withAction(Action<E, C, D>, Label) - Method in interface io.hektor.fsm.builder.TransitionBuilder
- withAction(Consumer<E>) - Method in interface io.hektor.fsm.builder.TransitionBuilder
- withAction(Consumer<E>, Label) - Method in class io.hektor.fsm.builder.impl.TransitionBuilderImpl
- withAction(Consumer<E>, Label) - Method in interface io.hektor.fsm.builder.TransitionBuilder
- withDataType(Class<D>) - Method in interface io.hektor.fsm.builder.DataTypeBuildStep
- withEnterAction(BiConsumer<C, D>) - Method in interface io.hektor.fsm.builder.StateBuilder
- withEnterAction(BiConsumer<C, D>, Label) - Method in class io.hektor.fsm.builder.impl.StateBuilderImpl
-
Register an action that will be executed upon entering this state.
- withEnterAction(BiConsumer<C, D>, Label) - Method in interface io.hektor.fsm.builder.StateBuilder
-
Register an action that will be executed upon entering this state.
- withExitAction(BiConsumer<C, D>) - Method in interface io.hektor.fsm.builder.StateBuilder
- withExitAction(BiConsumer<C, D>, Label) - Method in class io.hektor.fsm.builder.impl.StateBuilderImpl
-
Register an action that will be executed upon exiting this state.
- withExitAction(BiConsumer<C, D>, Label) - Method in interface io.hektor.fsm.builder.StateBuilder
-
Register an action that will be executed upon exiting this state.
- withFinalState(S) - Method in class io.hektor.fsm.builder.FSMBuilder
- withFriendlyName(String) - Method in class io.hektor.fsm.builder.FSMBuilder
- withGuard(Guard<E, C, D>) - Method in interface io.hektor.fsm.builder.TransitionBuilder
- withGuard(Guard<E, C, D>, Label) - Method in class io.hektor.fsm.builder.impl.TransitionBuilderImpl
- withGuard(Guard<E, C, D>, Label) - Method in interface io.hektor.fsm.builder.TransitionBuilder
- withGuard(Predicate<E>) - Method in interface io.hektor.fsm.builder.TransitionBuilder
- withGuard(Predicate<E>, Label) - Method in class io.hektor.fsm.builder.impl.TransitionBuilderImpl
- withGuard(Predicate<E>, Label) - Method in interface io.hektor.fsm.builder.TransitionBuilder
- withInitialEnterAction(BiConsumer<C, D>) - Method in interface io.hektor.fsm.builder.StateBuilder
- withInitialEnterAction(BiConsumer<C, D>, Label) - Method in class io.hektor.fsm.builder.impl.StateBuilderImpl
- withInitialEnterAction(BiConsumer<C, D>, Label) - Method in interface io.hektor.fsm.builder.StateBuilder
-
Register an action that will be executed upon entering this state the very first time only.
- withInitialState(S) - Method in class io.hektor.fsm.builder.FSMBuilder
- withSelfEnterAction(BiConsumer<C, D>) - Method in interface io.hektor.fsm.builder.StateBuilder
- withSelfEnterAction(BiConsumer<C, D>, Label) - Method in class io.hektor.fsm.builder.impl.StateBuilderImpl
- withSelfEnterAction(BiConsumer<C, D>, Label) - Method in interface io.hektor.fsm.builder.StateBuilder
-
Register an action that will trigger when you transition to/from the same state.
- withState(S) - Method in class io.hektor.fsm.builder.FSMBuilder
- withStateTimeout() - Method in class io.hektor.fsm.builder.impl.StateBuilderImpl
-
Set the maximum time we allow to stay in this state.
- withStateTimeout() - Method in interface io.hektor.fsm.builder.StateBuilder
-
Set the maximum time we allow to stay in this state.
- withTransformation(Function<E, R>) - Method in interface io.hektor.fsm.builder.TransitionBuilder
- withTransformation(Function<E, R>, Label) - Method in class io.hektor.fsm.builder.impl.TransitionBuilderImpl
- withTransformation(Function<E, R>, Label) - Method in interface io.hektor.fsm.builder.TransitionBuilder
-
For transitions to a transient state, you can optionally specify a transformation that will be applied to the original event before entering the state you're automatically transitioning to.
- withTransientState(S) - Method in class io.hektor.fsm.builder.FSMBuilder
_
- _scheduler - Static variable in interface io.hektor.fsm.Context
All Classes and Interfaces|All Packages|Serialized Form