Package com.sun.faces.flow.builder
Class SwitchCaseBuilderImpl
java.lang.Object
jakarta.faces.flow.builder.SwitchCaseBuilder
com.sun.faces.flow.builder.SwitchCaseBuilderImpl
public class SwitchCaseBuilderImpl extends SwitchCaseBuilder
-
Constructor Summary
Constructors Constructor Description SwitchCaseBuilderImpl(SwitchBuilderImpl root) -
Method Summary
Modifier and Type Method Description SwitchCaseBuildercondition(jakarta.el.ValueExpression expression)Set the if in the previously created switch case.SwitchCaseBuildercondition(String expression)Set the if in the previously created switch case.SwitchCaseBuilderfromOutcome(String outcome)Set the outcome in the previously created switch case.SwitchCaseImplgetNavigationCase()SwitchCaseBuilderswitchCase()Create a new case in the current switch.
-
Constructor Details
-
Method Details
-
getNavigationCase
-
switchCase
Description copied from class:SwitchCaseBuilderCreate a new case in the current switch.
- Specified by:
switchCasein classSwitchCaseBuilder- Returns:
- the builder instance
-
condition
Description copied from class:SwitchCaseBuilderSet the if in the previously created switch case.
- Specified by:
conditionin classSwitchCaseBuilder- Parameters:
expression- theValueExpressionto be evaluated to see if this case is chosen.- Returns:
- the builder instance
-
condition
Description copied from class:SwitchCaseBuilderSet the if in the previously created switch case.
- Specified by:
conditionin classSwitchCaseBuilder- Parameters:
expression- theValueExpressionString to be evaluated to see if this case is chosen.- Returns:
- the builder instance
-
fromOutcome
Description copied from class:SwitchCaseBuilderSet the outcome in the previously created switch case.
- Specified by:
fromOutcomein classSwitchCaseBuilder- Parameters:
outcome- the outcome to be returned if the condition evaluates totrue.- Returns:
- the builder instance
-