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.SwitchBuilder
Set the default outcome of the current switch.
defaultOutcome
in class javax.faces.flow.builder.SwitchBuilder
outcome
- 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.SwitchBuilder
Set the default outcome of the current switch.
defaultOutcome
in class javax.faces.flow.builder.SwitchBuilder
outcome
- A ValueExpression
that will be the default outcome of the switch.public SwitchBuilderImpl markAsStartNode()
javax.faces.flow.builder.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.
markAsStartNode
in interface javax.faces.flow.builder.NodeBuilder
markAsStartNode
in class javax.faces.flow.builder.SwitchBuilder
public javax.faces.flow.builder.SwitchCaseBuilder switchCase()
javax.faces.flow.builder.SwitchBuilder
Create a switch case in the current switch.
switchCase
in class javax.faces.flow.builder.SwitchBuilder
Copyright © 2010–2019 JBoss by Red Hat. All rights reserved.