public abstract class SwitchCaseBuilder
extends java.lang.Object
Create a case in the current switch.
| Constructor and Description | 
|---|
| SwitchCaseBuilder() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract SwitchCaseBuilder | condition(java.lang.String expression)Set the if in the previously created switch case. | 
| abstract SwitchCaseBuilder | condition(ValueExpression expression)Set the if in the previously created switch case. | 
| abstract SwitchCaseBuilder | fromOutcome(java.lang.String outcome)Set the outcome in the previously created switch case. | 
| abstract SwitchCaseBuilder | switchCase()Create a new case in the current switch. | 
public abstract SwitchCaseBuilder switchCase()
Create a new case in the current switch.
public abstract SwitchCaseBuilder condition(ValueExpression expression)
Set the if in the previously created switch case.
expression - the ValueExpression to be evaluated to see if this case
 is chosen.java.lang.NullPointerException - if any of the parameters are nullpublic abstract SwitchCaseBuilder condition(java.lang.String expression)
Set the if in the previously created switch case.
expression - the ValueExpression String to be evaluated to see if this case
 is chosen.java.lang.NullPointerException - if any of the parameters are nullpublic abstract SwitchCaseBuilder fromOutcome(java.lang.String outcome)
Set the outcome in the previously created switch case.
outcome - the outcome to be returned if the condition evaluates to true.java.lang.NullPointerException - if any of the parameters are null