Class ViewBuilder

java.lang.Object
jakarta.faces.flow.builder.ViewBuilder
All Implemented Interfaces:
NodeBuilder

public abstract class ViewBuilder extends Object implements NodeBuilder

Create a view node in the current Flow.

Since:
2.2
  • Constructor Details

    • ViewBuilder

      public ViewBuilder()
  • Method Details

    • markAsStartNode

      public abstract ViewBuilder 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
      Returns:
      the builder instance