Interface DefaultResult

All Superinterfaces:
CanCopy<DefaultResult>, HasId<ResultId>, HasParent<DefaultResult,Model<?,?>>, Model<DefaultResult,ResultId>, OriginAware<DefaultResult>, Result<DefaultResult>, TransitionAware<DefaultResult>, Validatable

Represents the default result of a transition. A default result is the fallback outcome that is executed when none of the conditions for conditional results are satisfied.
Since:
1.0
See Also:
  • Method Details

    • toResultBuilder

      BuildableResultBuilder toResultBuilder()
      Converts this DefaultResult to an OptionalResultBuilder for modifications. This allows for easy modification of the result without creating a new instance from scratch.
      Returns:
      an OptionalResultBuilder initialized with this result's values