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 Details

  • Method Details

    • 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 class FlowCallBuilder
      Parameters:
      flowDocumentId - the document id of the called flow. May not be null, but may be the empty string.
      flowId - the id of the called flow. May not be null
      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 class FlowCallBuilder
      Parameters:
      name - the name of the parameter
      value - 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 class FlowCallBuilder
      Parameters:
      name - the name of the parameter
      value - 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 interface NodeBuilder
      Specified by:
      markAsStartNode in class FlowCallBuilder
      Returns:
      the builder instance