public interface StoragePolicyDecisionPoint extends List<StoragePolicy>
StoragePolicy
Modifier and Type | Method and Description |
---|---|
String |
evaluatePolicies(FedoraResource resource)
Given a fedora resource (likely a fedora:Binary resource), determine which storage
policy should apply
|
void |
setPolicies(List<StoragePolicy> policies)
Explicitly set the policies this PDP should use
|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
String evaluatePolicies(FedoraResource resource)
resource
- the resourcevoid setPolicies(List<StoragePolicy> policies)
policies
- the policiesCopyright © 2013–2017 DuraSpace, Inc.. All rights reserved.