@ProviderType
public interface SlingDataFetcherEnvironment
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getArgument(String name) |
<T> T |
getArgument(String name,
T defaultValue) |
@Nullable Map<String,Object> |
getArguments() |
@Nullable org.apache.sling.api.resource.Resource |
getCurrentResource() |
@Nullable String |
getFetcherOptions() |
@Nullable String |
getFetcherSource() |
@Nullable Object |
getParentObject() |
@Nullable @Nullable Object getParentObject()
@Nullable @Nullable Map<String,Object> getArguments()
@Nullable <T> T getArgument(String name)
T - the argument typename - the name of the argument to return@Nullable <T> T getArgument(String name, T defaultValue)
T - the argument typename - the name of the argument to returndefaultValue - the default value to return@Nullable @Nullable org.apache.sling.api.resource.Resource getCurrentResource()
@Nullable @Nullable String getFetcherOptions()
@Nullable @Nullable String getFetcherSource()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.