Class Parser.Config

java.lang.Object
com.vaadin.hilla.parser.core.Parser.Config
Enclosing class:
Parser

public static final class Parser.Config extends Object
An immutable parser configuration object. It allows to peek into the initial configuration of the parser during the scan.
  • Method Details

    • getClassPathElements

      public @NonNull Set<String> getClassPathElements()
      Gets the collection of classpath elements.
      Returns:
      the collection of classpath elements.
    • getEndpointAnnotations

      public @NonNull List<Class<? extends Annotation>> getEndpointAnnotations()
      Gets the name of endpoint annotation.
      Returns:
      the annotation name.
    • getEndpointExposedAnnotations

      public @NonNull List<Class<? extends Annotation>> getEndpointExposedAnnotations()
      Gets the name of `EndpointExposed` annotation.
      Returns:
      the annotation name.
    • getOpenAPI

      public @NonNull io.swagger.v3.oas.models.OpenAPI getOpenAPI()
      Gets the OpenAPI object.

      Note that the object is mutable.

      Returns:
      OpenAPI object.
    • getPlugins

      public @NonNull Collection<Plugin> getPlugins()
      Returns a collection of parser plugins.
      Returns:
      the collection of parser plugins.