Annotation Type ParentResourceValueMapValue


@Target({METHOD,FIELD,PARAMETER}) @Retention(RUNTIME) @InjectAnnotation public @interface ParentResourceValueMapValue
Annotation to be used on either methods, fields to let Sling Models inject an inherited property from the parent resource
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    org.apache.sling.models.annotations.injectorspecific.InjectionStrategy
     
    int
     
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Field Details

  • Element Details

    • name

      String name
      Default:
      ""
    • injectionStrategy

      org.apache.sling.models.annotations.injectorspecific.InjectionStrategy injectionStrategy
      Default:
      DEFAULT
    • maxLevel

      int maxLevel
      Default:
      -1