Package com.sun.faces.flow.builder
Class ReturnBuilderImpl
java.lang.Object
jakarta.faces.flow.builder.ReturnBuilder
com.sun.faces.flow.builder.ReturnBuilderImpl
- All Implemented Interfaces:
NodeBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromOutcome
(jakarta.el.ValueExpression outcome) Set the outcome of the current return node.fromOutcome
(String outcome) Set the outcome of the current return node.Mark this node as the start node in the flow.
-
Constructor Details
-
ReturnBuilderImpl
-
-
Method Details
-
markAsStartNode
Description copied from interface:NodeBuilder
Mark 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.
- Specified by:
markAsStartNode
in interfaceNodeBuilder
- Specified by:
markAsStartNode
in classReturnBuilder
- Returns:
- the builder instance
-
fromOutcome
Description copied from class:ReturnBuilder
Set the outcome of the current return node.
- Specified by:
fromOutcome
in classReturnBuilder
- Parameters:
outcome
- AValueExpression
StringString
that will be the outcome of the return.- Returns:
- the builder instance
-
fromOutcome
Description copied from class:ReturnBuilder
Set the outcome of the current return node.
- Specified by:
fromOutcome
in classReturnBuilder
- Parameters:
outcome
- AValueExpression
String
that will be the outcome of the return.- Returns:
- the builder instance
-