Annotation Type ConfigurationProperty


  • @Documented
    @Retention(RUNTIME)
    @Target(FIELD)
    public @interface ConfigurationProperty
    The metadata annotation used to declare on the Java field whose modifiers usually are static and final for the configuration property.

    The module that named "microsphere-annotation-processor" generates the metadata resource in the classpath.

    Since:
    1.0.0
    Author:
    Mercy
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String defaultValue
      The default value of the configuration property.
      java.lang.String description
      The description of the configuration property.
      java.lang.String name
      The name of the configuration property.
      java.lang.Class<?> type
      The type of the configuration property.
    • Element Detail

      • name

        java.lang.String name
        The name of the configuration property.
        Returns:
        empty content as default
        Default:
        ""
      • type

        java.lang.Class<?> type
        The type of the configuration property.
        Default:
        java.lang.String.class
      • defaultValue

        java.lang.String defaultValue
        The default value of the configuration property.
        Returns:
        empty content as default
        Default:
        ""
      • description

        java.lang.String description
        The description of the configuration property.
        Returns:
        empty content as default
        Default:
        ""