@ConsumerType
public interface DropdownOptionProvider
PROPERTY_SELECTOR
which is used to reference
the implementation in the context-aware configuration property metadata options.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_SELECTOR
Name of OSGi property to distinguish different implementations of the provider.
|
Modifier and Type | Method and Description |
---|---|
@NotNull java.util.List<DropdownOptionItem> |
getDropdownOptions(@NotNull org.apache.sling.api.resource.Resource contextResource)
Get dynamic list of dropdown items to available in the context-aware configuration editor.
|
static final java.lang.String PROPERTY_SELECTOR
EditorProperties.PROPERTY_DROPDOWN_OPTIONS_PROVIDER
.@NotNull @NotNull java.util.List<DropdownOptionItem> getDropdownOptions(@NotNull @NotNull org.apache.sling.api.resource.Resource contextResource)
contextResource
- Context resource. This is usually the AEM page of the configuration editorCopyright © 2014–2021 wcm.io. All rights reserved.