Annotation Type Configuration


  • @Target(ANNOTATION_TYPE)
    @Retention(RUNTIME)
    public @interface Configuration
    Marks an annotation class to be useable with Sling context-aware configuration.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean collection  
      java.lang.String description  
      java.lang.String label  
      java.lang.String name  
      java.lang.String[] property  
    • Element Detail

      • name

        java.lang.String name
        Returns:
        Allows to overwrite the configuration name. If not set the class name of the annotation is used.
        Default:
        ""
      • label

        java.lang.String label
        Returns:
        Label for the resource (e.g. for configuration editor GUIs).
        Default:
        ""
      • description

        java.lang.String description
        Returns:
        Description for the resource (e.g. for configuration editor GUIs).
        Default:
        ""
      • property

        java.lang.String[] property
        Returns:
        Further properties e.g. for configuration editor GUIs.
        Default:
        {}
      • collection

        boolean collection
        Returns:
        Indicates that this definition should be used for configuration collections.
        Default:
        false