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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReturnBuilderfromOutcome(jakarta.el.ValueExpression outcome)Set the outcome of the current return node.ReturnBuilderfromOutcome(String outcome)Set the outcome of the current return node.ReturnBuildermarkAsStartNode()Mark this node as the start node in the flow.
-
-
-
Constructor Detail
-
ReturnBuilderImpl
public ReturnBuilderImpl(FlowBuilderImpl root, String id)
-
-
Method Detail
-
markAsStartNode
public ReturnBuilder 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
public ReturnBuilder fromOutcome(String outcome)
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
public ReturnBuilder fromOutcome(jakarta.el.ValueExpression outcome)
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
-
-