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 Details

  • Method Details

    • markAsStartNode

      public ReturnBuilder 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 ReturnBuilder
      Returns:
      the builder instance
    • fromOutcome

      public ReturnBuilder fromOutcome(String outcome)
      Description copied from class: ReturnBuilder

      Set the outcome of the current return node.

      Specified by:
      fromOutcome in class ReturnBuilder
      Parameters:
      outcome - A ValueExpression String String that will be the outcome of the return.
      Returns:
      the builder instance
    • fromOutcome

      public ReturnBuilder fromOutcome(jakarta.el.ValueExpression outcome)
      Description copied from class: ReturnBuilder

      Set the outcome of the current return node.

      Specified by:
      fromOutcome in class ReturnBuilder
      Parameters:
      outcome - A ValueExpression String that will be the outcome of the return.
      Returns:
      the builder instance