public interface ResourceStatusProvider
Modifier and Type | Method and Description |
---|---|
java.util.List<ResourceStatus> |
getStatuses(Resource resource)
Returns a list of
ResourceStatus es for a given Resource . |
java.lang.String |
getType()
Returns the type of statuses that are provided by this provider.
|
@Nonnull java.lang.String getType()
getStatuses(Resource)
must be of the this status type.ResourceStatus.getType()
@Nullable java.util.List<ResourceStatus> getStatuses(Resource resource)
ResourceStatus
es for a given Resource
. The returned
statuses must match the status type returned by getType()
and must
not leak any information which the resource
's underlying resource provider
is not privileged to access.resource
- a resourceResourceStatus
Copyright © 2010 - 2020 Adobe. All Rights Reserved