Class EditInspector


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

      • EditInspector

        public EditInspector​(QAWarningStore warningStore,
                             Manifest manifest,
                             boolean slowMode)
        Builds an edit inspector.
        Parameters:
        warningStore - the store in which to push any warnings generated
        manifest - the configuration of the Wikibase instance to run on
        slowMode - whether expensive checks should be run as well
    • Method Detail

      • 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 -