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 FlowCallBuilderflowReference(String flowDocumentId, String flowId)Define the flow reference of the called flow.FlowCallBuildermarkAsStartNode()Mark this node as the start node in the flow.FlowCallBuilderoutboundParameter(String name, jakarta.el.ValueExpression value)Define an outbound parameter for the flow call.FlowCallBuilderoutboundParameter(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:FlowCallBuilderDefine the flow reference of the called flow.
- Specified by:
flowReferencein 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:FlowCallBuilderDefine an outbound parameter for the flow call.
- Specified by:
outboundParameterin 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:FlowCallBuilderDefine an outbound parameter for the flow call.
- Specified by:
outboundParameterin 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: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 classFlowCallBuilder- Returns:
- the builder instance
-
-