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