Interface ConfigurationInfo
- All Superinterfaces:
io.inverno.core.compiler.spi.Info,io.inverno.core.compiler.spi.ReporterInfo
public interface ConfigurationInfo
extends io.inverno.core.compiler.spi.Info
A configuration info describes a configuration.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescription<R, P> Raccept(ConfigurationInfoVisitor<R,P> visitor, P p)Accepts the specified configuration info visitor.Returns the list of properties defined in the configuration.io.inverno.core.compiler.spi.BeanQualifiedNameReturns the qualified name of the bean deriving from the configuration.getType()Returns the type of the configuration.booleanIndicates whether a bean should be generated for the configuration.booleanIndicates whether the generated configuration bean is overridable.Methods inherited from interface io.inverno.core.compiler.spi.ReporterInfo
error, hasError, hasWarning, warning
-
Method Details
-
getQualifiedName
io.inverno.core.compiler.spi.BeanQualifiedName getQualifiedName()Returns the qualified name of the bean deriving from the configuration.
- Specified by:
getQualifiedNamein interfaceio.inverno.core.compiler.spi.Info
-
getType
DeclaredType getType()Returns the type of the configuration.
- Returns:
- a type
-
getProperties
ConfigurationPropertyInfo[] getProperties()Returns the list of properties defined in the configuration.
- Returns:
- an array of configuration properties
-
isGenerateBean
boolean isGenerateBean()Indicates whether a bean should be generated for the configuration.
- Returns:
- true to generate a bean, false otherwise
-
isOverridable
boolean isOverridable()Indicates whether the generated configuration bean is overridable.
- Returns:
- true of the bean must be overridable, false otherwise
-
accept
Accepts the specified configuration 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
-