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 Details

    • enter

      default void enter(NodePath<?> nodePath)
      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

      default void exit(NodePath<?> nodePath)
      Called on the way out of a node, once the nodes below it have been walked.
    • getConfiguration

      PluginConfiguration getConfiguration()
    • setConfiguration

      void setConfiguration(PluginConfiguration configuration)
    • getRequiredPlugins

      default Collection<Class<? extends Plugin>> getRequiredPlugins()
    • resolve

      default @NonNull Node<?,?> resolve(@NonNull Node<?,?> node, @NonNull NodePath<?> parentPath)
    • scan

      default @NonNull NodeDependencies scan(@NonNull NodeDependencies nodeDependencies)
    • setParserConfig

      void setParserConfig(Parser.Config parserConfig)
      Hands the plugin the configuration of the parser running it.