java.lang.Object
jakarta.faces.flow.builder.SwitchBuilder
com.sun.faces.flow.builder.SwitchBuilderImpl
-
Method Summary
Modifier and TypeMethodDescriptiondefaultOutcome(ValueExpression outcome) Set the default outcome of the current switch.defaultOutcome(String outcome) Set the default outcome of the current switch.Mark this node as the start node in the flow.Create a switch case in the current switch.
-
Method Details
-
defaultOutcome
Description copied from class:SwitchBuilderSet the default outcome of the current switch.
- Specified by:
defaultOutcomein classSwitchBuilder- Parameters:
outcome- AValueExpressionStringthat will be the default outcome of the switch.- Returns:
- the builder instance
-
defaultOutcome
Description copied from class:SwitchBuilderSet the default outcome of the current switch.
- Specified by:
defaultOutcomein classSwitchBuilder- Parameters:
outcome- AValueExpressionthat will be the default outcome of the switch.- Returns:
- the builder instance
-
markAsStartNode
Description copied from interface:NodeBuilderMark this node as the start node in the flow. Any other node that had been marked as the start node will no longer be the start node.
- Specified by:
markAsStartNodein interfaceNodeBuilder- Specified by:
markAsStartNodein classSwitchBuilder- Returns:
- the builder instance
-
switchCase
Description copied from class:SwitchBuilderCreate a switch case in the current switch.
- Specified by:
switchCasein classSwitchBuilder- Returns:
- the builder instance
-