public class SwitchBuilderImpl extends SwitchBuilder
Modifier and Type | Method and Description |
---|---|
SwitchCaseBuilder |
defaultOutcome(String outcome)
Set the default outcome of the current switch. |
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. |
SwitchCaseBuilder |
switchCase()
Create a switch case in the current switch. |
public SwitchCaseBuilder defaultOutcome(String outcome)
SwitchBuilder
Set the default outcome of the current switch.
defaultOutcome
in class SwitchBuilder
outcome
- A ValueExpression
String
that will be the
default outcome of the switch.public SwitchCaseBuilder defaultOutcome(javax.el.ValueExpression outcome)
SwitchBuilder
Set the default outcome of the current switch.
defaultOutcome
in class SwitchBuilder
outcome
- A ValueExpression
that will be the default outcome of the switch.public SwitchBuilderImpl markAsStartNode()
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 NodeBuilder
markAsStartNode
in class SwitchBuilder
public SwitchCaseBuilder switchCase()
SwitchBuilder
Create a switch case in the current switch.
switchCase
in class SwitchBuilder
Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.