public class SwitchCaseBuilderImpl extends SwitchCaseBuilder
Constructor and Description |
---|
SwitchCaseBuilderImpl(SwitchBuilderImpl root) |
Modifier and Type | Method and Description |
---|---|
SwitchCaseBuilder |
condition(String expression)
Set the if in the previously created switch case. |
SwitchCaseBuilder |
condition(javax.el.ValueExpression expression)
Set the if in the previously created switch case. |
SwitchCaseBuilder |
fromOutcome(String outcome)
Set the outcome in the previously created switch case. |
SwitchCaseImpl |
getNavigationCase() |
SwitchCaseBuilder |
switchCase()
Create a new case in the current switch. |
public SwitchCaseBuilderImpl(SwitchBuilderImpl root)
public SwitchCaseImpl getNavigationCase()
public SwitchCaseBuilder switchCase()
SwitchCaseBuilder
Create a new case in the current switch.
switchCase
in class SwitchCaseBuilder
public SwitchCaseBuilder condition(javax.el.ValueExpression expression)
SwitchCaseBuilder
Set the if in the previously created switch case.
condition
in class SwitchCaseBuilder
expression
- the ValueExpression
to be evaluated to see if this case
is chosen.public SwitchCaseBuilder condition(String expression)
SwitchCaseBuilder
Set the if in the previously created switch case.
condition
in class SwitchCaseBuilder
expression
- the ValueExpression
String to be evaluated to see if this case
is chosen.public SwitchCaseBuilder fromOutcome(String outcome)
SwitchCaseBuilder
Set the outcome in the previously created switch case.
fromOutcome
in class SwitchCaseBuilder
outcome
- the outcome to be returned if the condition evaluates to true
.Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.