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
All Methods Instance Methods Concrete Methods 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 Detail
-
FlowCallBuilderImpl
public FlowCallBuilderImpl(FlowBuilderImpl root, String id)
-
-
Method Detail
-
flowReference
public FlowCallBuilder flowReference(String flowDocumentId, String flowId)
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
public FlowCallBuilder outboundParameter(String name, jakarta.el.ValueExpression value)
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
public FlowCallBuilder outboundParameter(String name, String value)
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
public FlowCallBuilder 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
-
-