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 Details

    • withCloser

      StepResourceBuilder.Builder<T> withCloser(Consumer<T> closer)
      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