public class SwitchBuilderImpl
extends jakarta.faces.flow.builder.SwitchBuilder
| Modifier and Type | Method and Description |
|---|---|
jakarta.faces.flow.builder.SwitchCaseBuilder |
defaultOutcome(String outcome)
Set the default outcome of the current switch. |
jakarta.faces.flow.builder.SwitchCaseBuilder |
defaultOutcome(jakarta.el.ValueExpression outcome)
Set the default outcome of the current switch. |
SwitchBuilderImpl |
markAsStartNode()
Mark this node as the start node in the flow. |
jakarta.faces.flow.builder.SwitchCaseBuilder |
switchCase()
Create a switch case in the current switch. |
public jakarta.faces.flow.builder.SwitchCaseBuilder defaultOutcome(String outcome)
jakarta.faces.flow.builder.SwitchBuilderSet the default outcome of the current switch.
defaultOutcome in class jakarta.faces.flow.builder.SwitchBuilderoutcome - A ValueExpression String that will be the default outcome of the switch.public jakarta.faces.flow.builder.SwitchCaseBuilder defaultOutcome(jakarta.el.ValueExpression outcome)
jakarta.faces.flow.builder.SwitchBuilderSet the default outcome of the current switch.
defaultOutcome in class jakarta.faces.flow.builder.SwitchBuilderoutcome - A ValueExpression that will be the default outcome of the switch.public SwitchBuilderImpl markAsStartNode()
jakarta.faces.flow.builder.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.
markAsStartNode in interface jakarta.faces.flow.builder.NodeBuildermarkAsStartNode in class jakarta.faces.flow.builder.SwitchBuilderpublic jakarta.faces.flow.builder.SwitchCaseBuilder switchCase()
jakarta.faces.flow.builder.SwitchBuilderCreate a switch case in the current switch.
switchCase in class jakarta.faces.flow.builder.SwitchBuilderCopyright © 2010–2022 JBoss by Red Hat. All rights reserved.