Interface StepResourceBuilder.Builder<T>
- Type Parameters:
T
- type of the step resource
- Enclosing interface:
- StepResourceBuilder<T>
public static interface StepResourceBuilder.Builder<T>
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the step resource object.withCloser
(Consumer<T> closer) Configures a consumer to close the step resource after processing.
-
Method Details
-
withCloser
Configures a consumer to close the step resource after processing.- Parameters:
closer
- consumer of the step resource type to close the resource- Returns:
- Builder of step resource type
-
build
StepResource<T> build()Builds the step resource object.- Returns:
- Specific concrete step resource object
-