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
Transitionfrom the first givenStepto the second givenStepwith 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
Stepto 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
AsyncStepFunctionfrom this builder. - AsyncStepFunction<T,
R> - Class in com.koralix.stepfn -
A
StepFunctionthat returns aCompletableFuture. - AsyncStepFunction(Step<T, ?>, Supplier<ExecutorService>) - Constructor for class com.koralix.stepfn.AsyncStepFunction
-
Creates a new
AsyncStepFunctionwith 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
Stepof thisStepFunction.
G
- get() - Method in interface com.koralix.stepfn.Transition
-
Returns the next
Stepto 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
Stepto the given input. - step(Step<A, B>, Step<?, ?>, A) - Method in class com.koralix.stepfn.StepFunction
-
Computes the result of the given
Stepwith the given input. - step(Step<A, B>, Step<?, ?>, A) - Method in class com.koralix.stepfn.SyncStepFunction
-
Applies the given
Stepto 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
StepFunctionBuilderwith the given initial step. - step(Function<T, V>) - Static method in class com.koralix.stepfn.builder.StepFunctionBuilder
-
Creates a new
StepFunctionBuilderwith 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
StepFunctionwith 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
StepFunctions. - 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
SyncStepFunctionfrom this builder. - SyncStepFunction<T,
R> - Class in com.koralix.stepfn -
A
StepFunctionthat computes its result synchronously. - SyncStepFunction(Step<T, ?>) - Constructor for class com.koralix.stepfn.SyncStepFunction
-
Creates a new
SyncStepFunctionwith 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
Transitionprovides a way to transition from oneStepto another when certain conditions are met. - transitions(Step<?, A>) - Method in class com.koralix.stepfn.StepFunction
-
Returns the
Transitions that transition from the givenStep.
All Classes and Interfaces|All Packages
AsyncStepFunction(Step, Supplier)instead - this constructor will be removed in 1.2.0