| Package | Description |
|---|---|
| io.hektor.fsm.builder | |
| io.hektor.fsm.builder.impl |
| Modifier and Type | Method and Description |
|---|---|
<E> TransitionBuilder<E,S,C,D> |
EventBuildStep.asDefaultTransition() |
TransitionBuilder<E,S,C,D> |
TransitionBuilder.consume() |
<E> TransitionBuilder<E,S,C,D> |
EventBuildStep.onEvent(Class<E> event) |
TransitionBuilder<E,S,C,D> |
TransitionBuilder.withAction(Action<E,C,D> action) |
TransitionBuilder<E,S,C,D> |
TransitionBuilder.withAction(Consumer<E> action) |
TransitionBuilder<E,S,C,D> |
TransitionBuilder.withGuard(Guard<E,C,D> guard) |
TransitionBuilder<E,S,C,D> |
TransitionBuilder.withGuard(Predicate<E> guard) |
<R> TransitionBuilder<E,S,C,D> |
TransitionBuilder.withTransformation(Function<E,R> transformation)
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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TransitionBuilderImpl<E,S extends Enum<S>,C extends Context,D extends Data> |
| Modifier and Type | Method and Description |
|---|---|
TransitionBuilder<E,S,C,D> |
TransitionBuilderImpl.consume()
An empty action will be installed that will just silently consume the event.
|
TransitionBuilder<E,S,C,D> |
TransitionBuilderImpl.withAction(Action<E,C,D> action) |
TransitionBuilder<E,S,C,D> |
TransitionBuilderImpl.withAction(Consumer<E> action) |
TransitionBuilder<E,S,C,D> |
TransitionBuilderImpl.withGuard(Guard<E,C,D> guard) |
TransitionBuilder<E,S,C,D> |
TransitionBuilderImpl.withGuard(Predicate<E> guard) |
<R> TransitionBuilder<E,S,C,D> |
TransitionBuilderImpl.withTransformation(Function<E,R> transformation) |
Copyright © 2019. All rights reserved.