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 Type
    Method
    Description
    <R, P> R
    accept(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.BeanQualifiedName
    Returns the qualified name of the bean deriving from the configuration.
    Returns the type of the configuration.
    boolean
    Indicates whether a bean should be generated for the configuration.
    boolean
    Indicates 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:
      getQualifiedName in interface io.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

      <R, P> R accept(ConfigurationInfoVisitor<R,P> visitor, P p)

      Accepts the specified configuration 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