@ProviderType
public interface SlingDataFetcherEnvironment
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getArgument(String name) |
<T> T |
getArgument(String name,
T defaultValue) |
Map<String,Object> |
getArguments() |
org.apache.sling.api.resource.Resource |
getCurrentResource()
Get the current Sling resource
|
String |
getFetcherOptions()
Options, if set by the schema directive
|
String |
getFetcherSource()
Source, if set by the schema directive
|
Object |
getParentObject()
The parent object of the field that's being retrieved
|
Object getParentObject()
<T> T getArgument(String name)
<T> T getArgument(String name, T defaultValue)
org.apache.sling.api.resource.Resource getCurrentResource()
String getFetcherOptions()
String getFetcherSource()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.