Package org.bouncycastle.tsp.ers
Class ERSEvidenceRecordStore
java.lang.Object
org.bouncycastle.tsp.ers.ERSEvidenceRecordStore
- All Implemented Interfaces:
Store<ERSEvidenceRecord>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMatches(Selector<ERSEvidenceRecord> selector) Return a possibly empty collection of objects that match the criteria implemented in the passed in Selector.
-
Constructor Details
-
ERSEvidenceRecordStore
public ERSEvidenceRecordStore(Collection<ERSEvidenceRecord> records) throws OperatorCreationException - Throws:
OperatorCreationException
-
-
Method Details
-
getMatches
public Collection<ERSEvidenceRecord> getMatches(Selector<ERSEvidenceRecord> selector) throws StoreException Description copied from interface:StoreReturn a possibly empty collection of objects that match the criteria implemented in the passed in Selector.- Specified by:
getMatchesin interfaceStore<ERSEvidenceRecord>- Parameters:
selector- the selector defining the match criteria.- Returns:
- a collection of matching objects, empty if none available.
- Throws:
StoreException- if there is a failure during matching.
-