Package com.koralix.stepfn
Class Step<T,R>
java.lang.Object
com.koralix.stepfn.Step<T,R>
- Type Parameters:
T
- the type of the input to the stepR
- the type of the result of the step
- All Implemented Interfaces:
Function<T,
R>
- Since:
- 1.0.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionThe aggregation of the inputs from the previous steps.protected T
The input from the step function. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Aggregates the given input from the given step.abstract boolean
Checks if the step has all the required inputs to be executed.
-
Field Details
-
aggregation
The aggregation of the inputs from the previous steps.- Since:
- 1.0.0
-
stepFunctionInput
The input from the step function.This is only used for the first step.
- Since:
- 1.0.0
-
-
Constructor Details
-
Step
public Step()
-
-
Method Details
-
aggregate
Aggregates the given input from the given step.- Parameters:
from
- the step that produced the inputinput
- the input- Since:
- 1.0.0
-
isComplete
public abstract boolean isComplete()Checks if the step has all the required inputs to be executed.- Returns:
- true if the step is complete, false otherwise
- Since:
- 1.0.0
-