Module io.inverno.mod.web.compiler
Package io.inverno.mod.web.compiler.spi
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 Summary
Modifier and TypeMethodDescription<R, P> Raccept(WebRouterConfigurerInfoVisitor<R,P> visitor, P p)Accepts the specified web router configurer info visitor.Returns the web controllers defined in the module.Returns the module element for which a web router configurer is generated.Returns the web router configurer provided in the module.Methods inherited from interface io.inverno.core.compiler.spi.ReporterInfo
error, hasError, hasWarning, warning
-
Method Details
-
getQualifiedName
WebRouterConfigurerQualifiedName getQualifiedName()- Specified by:
getQualifiedNamein interfaceio.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
WebProvidedRouterConfigurerInfo[] 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
Accepts the specified web router configurer info visitor.
- Type Parameters:
R- the type of the visitor resultP- the type of the visitor parameter- Parameters:
visitor- the visitor to invokep- the parameter- Returns:
- the visitor result
-