Package com.vaadin.hilla.parser.core
Class Parser.Config
java.lang.Object
com.vaadin.hilla.parser.core.Parser.Config
- Enclosing class:
Parser
An immutable parser configuration object. It allows to peek into the
initial configuration of the parser during the scan.
-
Method Summary
Modifier and TypeMethodDescriptionGets the collection of classpath elements.@NonNull List<Class<? extends Annotation>> Gets the name of endpoint annotation.@NonNull List<Class<? extends Annotation>> Gets the name of `EndpointExposed` annotation.@NonNull io.swagger.v3.oas.models.OpenAPIGets the OpenAPI object.@NonNull Collection<Plugin> Returns a collection of parser plugins.
-
Method Details
-
getClassPathElements
Gets the collection of classpath elements.- Returns:
- the collection of classpath elements.
-
getEndpointAnnotations
Gets the name of endpoint annotation.- Returns:
- the annotation name.
-
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
Returns a collection of parser plugins.- Returns:
- the collection of parser plugins.
-