public class OptionSourceParameters extends Object
Note: This class is not a part of the public API and is subject to change. Do not use it in your own code
OptionProviderService
Modifier and Type | Method and Description |
---|---|
static OptionSourceParameters |
forRequest(org.apache.sling.api.SlingHttpServletRequest request)
Creates an instance of
OptionSourceParameters for the current request |
List<org.apache.commons.lang3.tuple.Pair<String,String>> |
getAppendedOptions()
Gets the user-specified
append setting value |
List<String> |
getExcludedOptions()
Gets the user-specified
exclude setting value |
List<PathParameters> |
getPathParameters()
Gets the collection of user-defined settings specific for a datasource path
|
List<org.apache.commons.lang3.tuple.Pair<String,String>> |
getPrependedOptions()
Gets the user-specified
prepend setting value |
boolean |
isSorted()
Gets whether alphabetical sorting of options will be performed
|
public static OptionSourceParameters forRequest(org.apache.sling.api.SlingHttpServletRequest request)
OptionSourceParameters
for the current requestrequest
- SlingHttpServletRequest
instanceRequestParameters
objectpublic List<org.apache.commons.lang3.tuple.Pair<String,String>> getAppendedOptions()
append
setting valuepublic List<String> getExcludedOptions()
exclude
setting valuepublic List<PathParameters> getPathParameters()
PathParameters
objectspublic List<org.apache.commons.lang3.tuple.Pair<String,String>> getPrependedOptions()
prepend
setting valuepublic boolean isSorted()
Copyright © 2024 Exadel, Inc.. All rights reserved.