Package com.vaadin.hilla.parser.core
Interface Plugin
- All Known Implementing Classes:
AbstractCompositePlugin,AbstractPlugin,BackbonePlugin,EndpointExposedPlugin,EndpointModelPlugin,EndpointPlugin,EntityPlugin,JsonValuePlugin,MethodParameterPlugin,MethodPlugin,ModelPlugin,MultipartFileCheckerPlugin,NonnullPlugin,PluginManager,PropertyPlugin,SubTypesPlugin,TransferTypesPlugin,TypeSignaturePlugin
public interface Plugin
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidCalled on the way into a node, before the nodes below it are walked.default voidCalled on the way out of a node, once the nodes below it have been walked.default Collection<Class<? extends Plugin>> default @NonNull Node<?, ?> default @NonNull NodeDependenciesscan(@NonNull NodeDependencies nodeDependencies) voidsetConfiguration(PluginConfiguration configuration) voidsetParserConfig(Parser.Config parserConfig) Hands the plugin the configuration of the parser running it.
-
Method Details
-
enter
Called on the way into a node, before the nodes below it are walked. A plugin which only says which nodes there are to walk has nothing to do here. -
exit
Called on the way out of a node, once the nodes below it have been walked. -
getConfiguration
PluginConfiguration getConfiguration() -
setConfiguration
-
getRequiredPlugins
-
resolve
-
scan
-
setParserConfig
Hands the plugin the configuration of the parser running it.
-