@ProviderType public interface ResolveContext<T>
ResourceProvider
to provide additional context information for the provider.
If the provider requires authentication, the object returned by ResourceProvider.authenticate(Map)
is returned in getProviderState()
.Modifier and Type | Method and Description |
---|---|
@Nullable ResolveContext<?> |
getParentResolveContext()
Return a resolve context for the parent resource provider.
|
@Nullable ResourceProvider<?> |
getParentResourceProvider()
Return the parent resource provider.
|
T |
getProviderState()
This is the object returned by
ResourceProvider.authenticate(Map) |
@NotNull ResourceResolver |
getResourceResolver()
Get the current resource resolver.
|
@NotNull @NotNull ResourceResolver getResourceResolver()
@Nullable T getProviderState()
ResourceProvider.authenticate(Map)
null
@Nullable @Nullable ResolveContext<?> getParentResolveContext()
null
if there is no parent.getParentResourceProvider()
@Nullable @Nullable ResourceProvider<?> getParentResourceProvider()
getParentResolveContext()
should be passed to that
instance.null
if there is no parent.Copyright © 2010 - 2020 Adobe. All Rights Reserved