Package nl.knaw.dans.layerstore
Class ItemsMatchDbConsistencyChecker
java.lang.Object
nl.knaw.dans.layerstore.ItemsMatchDbConsistencyChecker
- All Implemented Interfaces:
LayerConsistencyChecker
Checks that the items found on storage are the same as the items found in the database for the layer.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ItemsMatchDbConsistencyChecker
-
-
Method Details
-
check
Description copied from interface:LayerConsistencyChecker
Checks the consistency of the given layer.- Specified by:
check
in interfaceLayerConsistencyChecker
- Parameters:
layer
- the layer to check- Throws:
IOException
- if an I/O error occurs while reading from the layerItemsMismatchException
- if the items do not match
-