|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.faces.flow.builder.SwitchBuilder
public abstract class SwitchBuilder
Create a switch node in the current Flow.
| Constructor Summary | |
|---|---|
SwitchBuilder()
|
|
| Method Summary | |
|---|---|
abstract SwitchCaseBuilder |
defaultOutcome(String outcome)
Set the default outcome of the current switch. |
abstract SwitchCaseBuilder |
defaultOutcome(javax.el.ValueExpression outcome)
Set the default outcome of the current switch. |
abstract SwitchBuilder |
markAsStartNode()
Mark this node as the start node in the flow. |
abstract SwitchCaseBuilder |
switchCase()
Create a switch 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 SwitchBuilder()
| Method Detail |
|---|
public abstract SwitchCaseBuilder switchCase()
Create a switch case in the current switch.
public abstract SwitchCaseBuilder defaultOutcome(String outcome)
Set the default outcome of the current switch.
outcome - A ValueExpression String that will be the
default outcome of the switch.
NullPointerException - if any of the parameters are nullpublic abstract SwitchCaseBuilder defaultOutcome(javax.el.ValueExpression outcome)
Set the default outcome of the current switch.
outcome - A ValueExpression that will be the default outcome of the switch.
NullPointerException - if any of the parameters are nullpublic abstract SwitchBuilder markAsStartNode()
NodeBuilderMark this node as the start node in the flow. Any other node that had been marked as the start node will no longer be the start node.
markAsStartNode in interface NodeBuilder
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||