Class ReturnNode

java.lang.Object
jakarta.faces.flow.FlowNode
jakarta.faces.flow.ReturnNode

public abstract class ReturnNode extends FlowNode

Represents a return node in the flow graph. When control passes to a return node, its getFromOutcome(jakarta.faces.context.FacesContext) is called to determine the next node in the flow graph.

Since:
2.2
  • Constructor Details

    • ReturnNode

      public ReturnNode()
  • Method Details

    • getFromOutcome

      public abstract String getFromOutcome(FacesContext context)

      Return the fromOutcome to be used when control passes to this return node.

      Parameters:
      context - the FacesContext for this request.
      Returns:
      the fromOutcome
      Throws:
      NullPointerException - if context is null.
      Since:
      2.2