@Target(value={METHOD,FIELD,PARAMETER}) @Retention(value=RUNTIME) @InjectAnnotation public @interface JsonValueMapValue
| Modifier and Type | Fields and Description |
|---|---|
static String |
SOURCE
Source value used for this annotation.
|
| Modifier and Type | Optional Element and Description |
|---|---|
org.apache.sling.models.annotations.injectorspecific.InjectionStrategy |
injectionStrategy
if set to REQUIRED injection is mandatory, if set to OPTIONAL injection is optional, in case of DEFAULT
the standard annotations (
Optional, Required) are used. |
String |
name
Specifies the name of the value from the value map to take.
|
public static final String SOURCE
Sourcepublic abstract String name
public abstract org.apache.sling.models.annotations.injectorspecific.InjectionStrategy injectionStrategy
Optional, Required) are used.
If even those are not available the default injection strategy defined on the Model applies.
Default value = DEFAULT.Copyright © 2013–2020 Adobe. All rights reserved.