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()
SwitchCaseBuilderCreate a new case in the current switch.
switchCase in class SwitchCaseBuilderpublic SwitchCaseBuilder condition(javax.el.ValueExpression expression)
SwitchCaseBuilderSet the if in the previously created switch case.
condition in class SwitchCaseBuilderexpression - the ValueExpression to be evaluated to see if this case
is chosen.public SwitchCaseBuilder condition(String expression)
SwitchCaseBuilderSet the if in the previously created switch case.
condition in class SwitchCaseBuilderexpression - the ValueExpression String to be evaluated to see if this case
is chosen.public SwitchCaseBuilder fromOutcome(String outcome)
SwitchCaseBuilderSet the outcome in the previously created switch case.
fromOutcome in class SwitchCaseBuilderoutcome - the outcome to be returned if the condition evaluates to true.Copyright © 1997–2019 Eclipse Foundation. All rights reserved.