public interface ResourceStatusProvider
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ResourceStatus> |
getStatuses(Resource resource)
Returns a list of
ResourceStatuses 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)
ResourceStatuses 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 resourceResourceStatusCopyright © 2010 - 2023 Adobe. All Rights Reserved