Class EditInspector

java.lang.Object
org.openrefine.wikidata.qa.EditInspector

public class EditInspector extends Object
Runs a collection of edit scrutinizers on an edit batch.
Author:
Antonin Delpeuch
  • Constructor Details

  • Method Details

    • register

      public void register(EditScrutinizer scrutinizer)
      Adds a new scrutinizer to the inspector. If any necessary dependency is missing, the scrutinizer will not be added.
      Parameters:
      scrutinizer -
    • inspect

      public void inspect(List<EntityEdit> editBatch, WikibaseSchema schema) throws ExecutionException
      Inspect a batch of edits with the registered scrutinizers
      Parameters:
      editBatch -
      Throws:
      ExecutionException