Interface WebRouterConfigurerInfo

All Superinterfaces:
io.inverno.core.compiler.spi.Info, io.inverno.core.compiler.spi.ReporterInfo

public interface WebRouterConfigurerInfo extends io.inverno.core.compiler.spi.Info

Describes the module's web router configurer to generate.

Since:
1.0
Author:
Jeremy Kuhn
  • Method Details

    • getQualifiedName

      Specified by:
      getQualifiedName in interface io.inverno.core.compiler.spi.Info
    • getElement

      ModuleElement getElement()

      Returns the module element for which a web router configurer is generated.

      Returns:
      a module element
    • getControllers

      WebControllerInfo[] getControllers()

      Returns the web controllers defined in the module.

      Returns:
      an array of web controllers
    • getRouters

      Returns the web router configurer provided in the module.

      These can be defined as beans defined in the module or as beans exposed in component modules.

      Returns:
      an array of provided router configurer
    • accept

      <R,​ P> R accept(WebRouterConfigurerInfoVisitor<R,​P> visitor, P p)

      Accepts the specified web router configurer info visitor.

      Type Parameters:
      R - the type of the visitor result
      P - the type of the visitor parameter
      Parameters:
      visitor - the visitor to invoke
      p - the parameter
      Returns:
      the visitor result