Interface DefaultResultBuilder


public interface DefaultResultBuilder
Builder interface for creating DefaultResult instances. This is the initial builder in the default result creation chain that requires a destination ID to be set before proceeding to the buildable result builder.

DefaultResultBuilder is typically used as part of transition builders to create default results that represent the standard outcome of a transition. It follows a fluent builder pattern where the destination ID must be set first before other properties can be configured.

Since:
1.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Sets the destination ID for the default result and returns a buildable result builder for further configuration.
  • Method Details

    • destinationId

      BuildableResultBuilder destinationId(DestinationId destinationId)
      Sets the destination ID for the default result and returns a buildable result builder for further configuration.
      Parameters:
      destinationId - the destination ID for the result
      Returns:
      a BuildableResultBuilder for configuring additional properties