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
public class ReturnBuilderImpl extends ReturnBuilder
-
Constructor Summary
Constructors Constructor Description ReturnBuilderImpl(FlowBuilderImpl root, String id)
-
Method Summary
Modifier and Type Method Description ReturnBuilder
fromOutcome(jakarta.el.ValueExpression outcome)
Set the outcome of the current return node.ReturnBuilder
fromOutcome(String outcome)
Set the outcome of the current return node.ReturnBuilder
markAsStartNode()
Mark this node as the start node in the flow.
-
Constructor Details
-
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
-