Package com.sun.faces.flow.builder
Class FlowCallBuilderImpl
java.lang.Object
jakarta.faces.flow.builder.FlowCallBuilder
com.sun.faces.flow.builder.FlowCallBuilderImpl
- All Implemented Interfaces:
NodeBuilder
public class FlowCallBuilderImpl extends FlowCallBuilder
-
Constructor Summary
Constructors Constructor Description FlowCallBuilderImpl(FlowBuilderImpl root, String id)
-
Method Summary
Modifier and Type Method Description FlowCallBuilder
flowReference(String flowDocumentId, String flowId)
Define the flow reference of the called flow.FlowCallBuilder
markAsStartNode()
Mark this node as the start node in the flow.FlowCallBuilder
outboundParameter(String name, jakarta.el.ValueExpression value)
Define an outbound parameter for the flow call.FlowCallBuilder
outboundParameter(String name, String value)
Define an outbound parameter for the flow call.
-
Constructor Details
-
Method Details
-
flowReference
Description copied from class:FlowCallBuilder
Define the flow reference of the called flow.
- Specified by:
flowReference
in classFlowCallBuilder
- Parameters:
flowDocumentId
- the document id of the called flow. May not benull
, but may be the empty string.flowId
- the id of the called flow. May not benull
- Returns:
- the builder instance
-
outboundParameter
Description copied from class:FlowCallBuilder
Define an outbound parameter for the flow call.
- Specified by:
outboundParameter
in classFlowCallBuilder
- Parameters:
name
- the name of the parametervalue
- the value of the parameter- Returns:
- the builder instance
-
outboundParameter
Description copied from class:FlowCallBuilder
Define an outbound parameter for the flow call.
- Specified by:
outboundParameter
in classFlowCallBuilder
- Parameters:
name
- the name of the parametervalue
- the value of the parameter- Returns:
- the builder instance
-
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 classFlowCallBuilder
- Returns:
- the builder instance
-