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:SwitchBuilder
Set the default outcome of the current switch.
- Specified by:
defaultOutcome
in classSwitchBuilder
- Parameters:
outcome
- AValueExpression
String
that will be the default outcome of the switch.- Returns:
- the builder instance
-
defaultOutcome
Description copied from class:SwitchBuilder
Set the default outcome of the current switch.
- Specified by:
defaultOutcome
in classSwitchBuilder
- Parameters:
outcome
- AValueExpression
that will be the default outcome of the switch.- Returns:
- the builder instance
-
markAsStartNode
Description copied from interface:NodeBuilder
Mark 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:
markAsStartNode
in interfaceNodeBuilder
- Specified by:
markAsStartNode
in classSwitchBuilder
- Returns:
- the builder instance
-
switchCase
Description copied from class:SwitchBuilder
Create a switch case in the current switch.
- Specified by:
switchCase
in classSwitchBuilder
- Returns:
- the builder instance
-