Annotation Type ContentPolicyValue


@Target({METHOD,FIELD,PARAMETER}) @Retention(RUNTIME) @InjectAnnotation public @interface ContentPolicyValue
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    org.apache.sling.models.annotations.injectorspecific.InjectionStrategy
     
     
    boolean
    Whether to use the page policy (true) or the component policy (false).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Source value used for this annotation.
  • Field Details

  • Element Details

    • name

      String name
      Default:
      ""
    • usePagePolicy

      boolean usePagePolicy
      Whether to use the page policy (true) or the component policy (false).
      Returns:
      Default:
      false
    • injectionStrategy

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