Class NoEditsMadeScrutinizer
java.lang.Object
org.openrefine.wikidata.qa.scrutinizers.EditScrutinizer
org.openrefine.wikidata.qa.scrutinizers.NoEditsMadeScrutinizer
-
Field Summary
FieldsFields inherited from class org.openrefine.wikidata.qa.scrutinizers.EditScrutinizer
_fetcher, _store, manifest -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled before an edit batch is scrutinized.voidMethod called once the edit batch has been read entirelybooleanPrepare the dependencies(i.e.voidscrutinize(ItemEdit edit) Reads the candidate edit and emits warnings in the storevoidscrutinize(MediaInfoEdit edit) Reads the candidate edit and emits warnings in the storeMethods inherited from class org.openrefine.wikidata.qa.scrutinizers.EditScrutinizer
addIssue, addIssue, critical, findValues, getConstraintsRelatedId, important, info, scrutinize, setFetcher, setManifest, setStore, warning
-
Field Details
-
type
- See Also:
-
-
Constructor Details
-
NoEditsMadeScrutinizer
public NoEditsMadeScrutinizer()
-
-
Method Details
-
prepareDependencies
public boolean prepareDependencies()Description copied from class:EditScrutinizerPrepare the dependencies(i.e. constraint-related pids and qids) needed by the scrutinizer. Called beforeEditScrutinizer.batchIsBeginning().- Specified by:
prepareDependenciesin classEditScrutinizer- Returns:
- false if any necessary dependency is missing, true otherwise.
-
batchIsBeginning
public void batchIsBeginning()Description copied from class:EditScrutinizerCalled before an edit batch is scrutinized.- Overrides:
batchIsBeginningin classEditScrutinizer
-
scrutinize
Description copied from class:EditScrutinizerReads the candidate edit and emits warnings in the store- Specified by:
scrutinizein classEditScrutinizer- Parameters:
edit- : theItemEditto scrutinize
-
scrutinize
Description copied from class:EditScrutinizerReads the candidate edit and emits warnings in the store- Specified by:
scrutinizein classEditScrutinizer- Parameters:
edit- : theItemEditto scrutinize
-
batchIsFinished
public void batchIsFinished()Description copied from class:EditScrutinizerMethod called once the edit batch has been read entirely- Overrides:
batchIsFinishedin classEditScrutinizer
-