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.
- Since:
- 1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the Fork instance with all configured properties.voidRemoves all results from this fork.withResult(Consumer<DefaultResultBuilder> result) Adds a result to this fork using the provided result builder consumer.
-
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
-