Create a case in the current switch.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract SwitchCaseBuilder | Returns: the builder instancethe expression)ValueExpression to be evaluated to see if this case is chosen.Set the if in the previously created switch case. |
| public abstract SwitchCaseBuilder | |
| public abstract SwitchCaseBuilder | Returns: the builder instancethe outcome to be returned if the condition evaluates to outcome)true.Set the outcome in the previously created switch case. |
| public abstract SwitchCaseBuilder |
| SwitchCaseBuilder | back to summary |
|---|---|
| public SwitchCaseBuilder() | |
| condition | back to summary |
|---|---|
| public abstract SwitchCaseBuilder condition(ValueExpression expression) Set the if in the previously created switch case.
| |
| condition | back to summary |
|---|---|
| public abstract SwitchCaseBuilder condition(String expression) Set the if in the previously created switch case.
| |
| fromOutcome | back to summary |
|---|---|
| public abstract SwitchCaseBuilder fromOutcome(String outcome) Set the outcome in the previously created switch case.
| |
| switchCase | back to summary |
|---|---|
| public abstract SwitchCaseBuilder switchCase() Create a new case in the current switch.
| |