Package org.gbif.api.service.registry
Interface DatasetValidationService
public interface DatasetValidationService
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateOrUpdate(UUID datasetKey, int attempt, String report) Stores or updates the validation report for a specific crawl attempt of a dataset.Retrieves the validation report for a specific crawl attempt of a dataset.Retrieves the validation report for the latest crawl attempt of a dataset.
-
Method Details
-
createOrUpdate
Stores or updates the validation report for a specific crawl attempt of a dataset.- Parameters:
datasetKey- key of the target datasetattempt- crawl attempt numberreport- validation report as a JSON string
-
get
Retrieves the validation report for a specific crawl attempt of a dataset.- Parameters:
datasetKey- key of the target datasetattempt- crawl attempt number- Returns:
- validation report as a JSON string
-
getLatest
Retrieves the validation report for the latest crawl attempt of a dataset.- Parameters:
datasetKey- key of the target dataset- Returns:
- validation report as a JSON string
-