Class ViewBuilder.ViewSubBuilder

java.lang.Object
fr.inria.rules.integraal.views.builder.ViewBuilder.ViewSubBuilder
Enclosing class:
ViewBuilder

public static class ViewBuilder.ViewSubBuilder extends Object
Sub-builder for constructing a view.
Author:
Florent Tornil
  • Method Details

    • setQuery

      public ViewBuilder.ViewSubBuilder setQuery(String query)
      Sets the query text of the view being built.
      Parameters:
      query - the query text
      Returns:
      the current sub-builder
    • addParameterSignature

      public ViewBuilder.ViewSubBuilder addParameterSignature(String ifMissing, String mandatory, String selection)
      Adds a parameter signature to the view definition.
      Parameters:
      ifMissing - fallback behavior when the parameter is missing
      mandatory - mandatory flag
      selection - selection behavior
      Returns:
      the current sub-builder
    • setPosition

      public ViewBuilder.ViewSubBuilder setPosition(String position)
      Sets the optional view position.
      Parameters:
      position - the position hint
      Returns:
      the current sub-builder
    • addView

      public ViewBuilder addView()
      Finalizes the view configuration and returns to the parent builder.
      Returns:
      the parent ViewBuilder