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 SwitchCaseBuilder
condition(jakarta.el.ValueExpression expression)
Set the if in the previously created switch case.SwitchCaseBuilder
condition(String expression)
Set the if in the previously created switch case.SwitchCaseBuilder
fromOutcome(String outcome)
Set the outcome in the previously created switch case.SwitchCaseImpl
getNavigationCase()
SwitchCaseBuilder
switchCase()
Create a new case in the current switch.
-
Constructor Details
-
Method Details
-
getNavigationCase
-
switchCase
Description copied from class:SwitchCaseBuilder
Create a new case in the current switch.
- Specified by:
switchCase
in classSwitchCaseBuilder
- Returns:
- the builder instance
-
condition
Description copied from class:SwitchCaseBuilder
Set the if in the previously created switch case.
- Specified by:
condition
in classSwitchCaseBuilder
- Parameters:
expression
- theValueExpression
to be evaluated to see if this case is chosen.- Returns:
- the builder instance
-
condition
Description copied from class:SwitchCaseBuilder
Set the if in the previously created switch case.
- Specified by:
condition
in classSwitchCaseBuilder
- Parameters:
expression
- theValueExpression
String to be evaluated to see if this case is chosen.- Returns:
- the builder instance
-
fromOutcome
Description copied from class:SwitchCaseBuilder
Set the outcome in the previously created switch case.
- Specified by:
fromOutcome
in classSwitchCaseBuilder
- Parameters:
outcome
- the outcome to be returned if the condition evaluates totrue
.- Returns:
- the builder instance
-