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
Constructors -
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: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.
- Specified by:
markAsStartNodein interfaceNodeBuilder- Specified by:
markAsStartNodein classReturnBuilder- Returns:
- the builder instance
-
fromOutcome
Description copied from class:ReturnBuilderSet the outcome of the current return node.
- Specified by:
fromOutcomein classReturnBuilder- Parameters:
outcome- AValueExpressionStringStringthat will be the outcome of the return.- Returns:
- the builder instance
-
fromOutcome
Description copied from class:ReturnBuilderSet the outcome of the current return node.
- Specified by:
fromOutcomein classReturnBuilder- Parameters:
outcome- AValueExpressionStringthat will be the outcome of the return.- Returns:
- the builder instance
-