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 ElementsModifier and TypeOptional ElementDescriptionorg.apache.sling.models.annotations.injectorspecific.InjectionStrategyint -
Field Summary
Fields
-
Field Details
-
SOURCE
- See Also:
-
-
Element Details
-
name
String name- Default:
- ""
-
injectionStrategy
org.apache.sling.models.annotations.injectorspecific.InjectionStrategy injectionStrategy- Default:
- DEFAULT
-
maxLevel
int maxLevel- Default:
- -1
-