Package org.openrefine.wikidata.qa
Class EditInspector
java.lang.Object
org.openrefine.wikidata.qa.EditInspector
Runs a collection of edit scrutinizers on an edit batch.
- Author:
- Antonin Delpeuch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinspect(List<EntityEdit> editBatch, WikibaseSchema schema) Inspect a batch of edits with the registered scrutinizersvoidregister(EditScrutinizer scrutinizer) Adds a new scrutinizer to the inspector.
-
Constructor Details
-
EditInspector
-
-
Method Details
-
register
Adds a new scrutinizer to the inspector. If any necessary dependency is missing, the scrutinizer will not be added.- Parameters:
scrutinizer-
-
inspect
Inspect a batch of edits with the registered scrutinizers- Parameters:
editBatch-- Throws:
ExecutionException
-