|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.faces.flow.builder.SwitchCaseBuilder
public abstract class SwitchCaseBuilder
Create a case in the current switch.
| Constructor Summary | |
|---|---|
SwitchCaseBuilder()
|
|
| Method Summary | |
|---|---|
abstract SwitchCaseBuilder |
condition(String expression)
Set the if in the previously created switch case. |
abstract SwitchCaseBuilder |
condition(javax.el.ValueExpression expression)
Set the if in the previously created switch case. |
abstract SwitchCaseBuilder |
fromOutcome(String outcome)
Set the outcome in the previously created switch case. |
abstract SwitchCaseBuilder |
switchCase()
Create a new case in the current switch. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SwitchCaseBuilder()
| Method Detail |
|---|
public abstract SwitchCaseBuilder switchCase()
Create a new case in the current switch.
public abstract SwitchCaseBuilder condition(javax.el.ValueExpression expression)
Set the if in the previously created switch case.
expression - the ValueExpression to be evaluated to see if this case
is chosen.
NullPointerException - if any of the parameters are nullpublic abstract SwitchCaseBuilder condition(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.
NullPointerException - if any of the parameters are nullpublic abstract SwitchCaseBuilder fromOutcome(String outcome)
Set the outcome in the previously created switch case.
outcome - the outcome to be returned if the condition evaluates to true.
NullPointerException - if any of the parameters are null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||