Index
All Classes and Interfaces|All Packages
A
- addTransition(Step<?, A>, Step<A, ?>, Function<A, Boolean>) - Method in class com.koralix.stepfn.StepFunction
- addTransition(Step<?, A>, Step<B, ?>, Function<A, Boolean>, Function<A, B>) - Method in class com.koralix.stepfn.StepFunction
-
Adds a
Transition
from the first givenStep
to the second givenStep
with the given predicate and mapper. - aggregate(Step<?, ?>, T) - Method in class com.koralix.stepfn.Step
-
Aggregates the given input from the given step.
- aggregation - Variable in class com.koralix.stepfn.Step
-
The aggregation of the inputs from the previous steps.
- apply(Step<A, B>, Step<?, ?>, A, CompletableFuture<V>) - Method in class com.koralix.stepfn.StepFunction
-
Recursive method that applies the given
Step
to the given input. - apply(T) - Method in class com.koralix.stepfn.AsyncStepFunction
-
Applies this function to the given argument.
- apply(T) - Method in class com.koralix.stepfn.SyncStepFunction
-
Applies this function to the given argument.
- async(Supplier<ExecutorService>) - Method in class com.koralix.stepfn.builder.StepFunctionBuilder
-
Creates a new
AsyncStepFunction
from this builder. - AsyncStepFunction<T,
R> - Class in com.koralix.stepfn -
A
StepFunction
that returns aCompletableFuture
. - AsyncStepFunction(Step<T, ?>, Supplier<ExecutorService>) - Constructor for class com.koralix.stepfn.AsyncStepFunction
-
Creates a new
AsyncStepFunction
with the given initial step. - AsyncStepFunction(Step<T, ?>, Map<Step<?, ?>, Set<Transition<?, ?>>>, Supplier<ExecutorService>) - Constructor for class com.koralix.stepfn.AsyncStepFunction
-
Deprecated.
C
- com.koralix.stepfn - package com.koralix.stepfn
-
This package contains the Step Function implementation.
- com.koralix.stepfn.builder - package com.koralix.stepfn.builder
-
This package contains the Step Function Builder implementation.
F
- firstStep() - Method in class com.koralix.stepfn.StepFunction
-
Returns the initial
Step
of thisStepFunction
.
G
- get() - Method in interface com.koralix.stepfn.Transition
-
Returns the next
Step
to transition to.
I
- isApplicable(T) - Method in interface com.koralix.stepfn.Transition
-
Checks if the transition is applicable to the given input.
- isComplete() - Method in class com.koralix.stepfn.Step
-
Checks if the step has all the required inputs to be executed.
M
- map(T) - Method in interface com.koralix.stepfn.Transition
-
Maps the input to a new input for the next
Step
.
S
- step(Step<A, B>, Step<?, ?>, A) - Method in class com.koralix.stepfn.AsyncStepFunction
-
Applies the given
Step
to the given input. - step(Step<A, B>, Step<?, ?>, A) - Method in class com.koralix.stepfn.StepFunction
-
Computes the result of the given
Step
with the given input. - step(Step<A, B>, Step<?, ?>, A) - Method in class com.koralix.stepfn.SyncStepFunction
-
Applies the given
Step
to the given input. - step(Function<Map<Step<?, ?>, T>, Boolean>, BiFunction<T, Map<Step<?, ?>, T>, V>) - Static method in class com.koralix.stepfn.builder.StepFunctionBuilder
-
Creates a new
StepFunctionBuilder
with the given initial step. - step(Function<T, V>) - Static method in class com.koralix.stepfn.builder.StepFunctionBuilder
-
Creates a new
StepFunctionBuilder
with the given initial step. - Step<T,
R> - Class in com.koralix.stepfn - Step() - Constructor for class com.koralix.stepfn.Step
- StepFunction<T,
V, R> - Class in com.koralix.stepfn - StepFunction(Step<T, ?>) - Constructor for class com.koralix.stepfn.StepFunction
-
Creates a new
StepFunction
with the given initialStep
. - StepFunction(Step<T, ?>, Map<Step<?, ?>, Set<Transition<?, ?>>>) - Constructor for class com.koralix.stepfn.StepFunction
-
Deprecated.use
StepFunction(Step)
instead - this constructor will be removed in 1.2.0 - StepFunctionBuilder<T,
R> - Class in com.koralix.stepfn.builder -
A builder for
StepFunction
s. - stepFunctionInput - Variable in class com.koralix.stepfn.Step
-
The input from the step function.
- sync() - Method in class com.koralix.stepfn.builder.StepFunctionBuilder
-
Creates a new
SyncStepFunction
from this builder. - SyncStepFunction<T,
R> - Class in com.koralix.stepfn -
A
StepFunction
that computes its result synchronously. - SyncStepFunction(Step<T, ?>) - Constructor for class com.koralix.stepfn.SyncStepFunction
-
Creates a new
SyncStepFunction
with the given initial step. - SyncStepFunction(Step<T, ?>, Map<Step<?, ?>, Set<Transition<?, ?>>>) - Constructor for class com.koralix.stepfn.SyncStepFunction
-
Deprecated.use
SyncStepFunction(Step)
instead - this constructor will be removed in 1.2.0
T
- transition(Function<R, Boolean>, StepFunctionBuilder<R, ?>) - Method in class com.koralix.stepfn.builder.StepFunctionBuilder
-
Adds a transition to this builder.
- transition(Function<R, Boolean>, Function<R, V>, StepFunctionBuilder<V, ?>) - Method in class com.koralix.stepfn.builder.StepFunctionBuilder
-
Adds a transition to this builder.
- Transition<T,
R> - Interface in com.koralix.stepfn -
A
Transition
provides a way to transition from oneStep
to another when certain conditions are met. - transitions(Step<?, A>) - Method in class com.koralix.stepfn.StepFunction
-
Returns the
Transition
s that transition from the givenStep
.
All Classes and Interfaces|All Packages
AsyncStepFunction(Step, Supplier)
instead - this constructor will be removed in 1.2.0