Class SwitchBuilderImpl

    • Method Detail

      • defaultOutcome

        public SwitchCaseBuilder defaultOutcome​(String outcome)
        Description copied from class: SwitchBuilder

        Set the default outcome of the current switch.

        Specified by:
        defaultOutcome in class SwitchBuilder
        Parameters:
        outcome - A ValueExpression String that will be the default outcome of the switch.
        Returns:
        the builder instance
      • defaultOutcome

        public SwitchCaseBuilder defaultOutcome​(jakarta.el.ValueExpression outcome)
        Description copied from class: SwitchBuilder

        Set the default outcome of the current switch.

        Specified by:
        defaultOutcome in class SwitchBuilder
        Parameters:
        outcome - A ValueExpression that will be the default outcome of the switch.
        Returns:
        the builder instance