Interface BuildableForkBuilder


public interface BuildableForkBuilder
Builder interface for creating Fork instances with optional configuration. OptionalForkBuilder provides the final step in the fork building process, allowing for the creation of Fork instances after all mandatory properties have been set.

This builder is used as the final step in creating fork operations where all mandatory properties (like results) have been configured through the MandatoryForkBuilder.

The builder pattern ensures that forks are properly constructed with all required properties before they can be used in workflow definitions.

Since:
1.0
See Also:
  • Method Details

    • build

      Fork build()
      Builds the Fork instance with all configured properties.
      Returns:
      a new Fork instance
    • withoutResults

      void withoutResults()
      Removes all results from this fork.
    • withResult

      Adds a result to this fork using the provided result builder consumer.
      Parameters:
      result - consumer to configure the result
      Returns:
      this builder for method chaining