Class ValueScrutinizer

Direct Known Subclasses:
CalendarScrutinizer, WhitespaceScrutinizer

public abstract class ValueScrutinizer extends SnakScrutinizer
A scrutinizer that inspects the values of snaks and terms
Author:
Antonin Delpeuch
  • Constructor Details

    • ValueScrutinizer

      public ValueScrutinizer()
  • Method Details

    • scrutinize

      public void scrutinize(EntityEdit update)
      Description copied from class: EditScrutinizer
      Reads the candidate edit and emits warnings in the store
      Overrides:
      scrutinize in class EditScrutinizer
      Parameters:
      update - : the EntityEdit to scrutinize
    • scrutinize

      public abstract void scrutinize(org.wikidata.wdtk.datamodel.interfaces.Value value)
    • scrutinize

      public void scrutinize(org.wikidata.wdtk.datamodel.interfaces.Snak snak, org.wikidata.wdtk.datamodel.interfaces.EntityIdValue entityId, boolean added)
      Description copied from class: SnakScrutinizer
      This is the method that subclasses should override to implement their checks.
      Specified by:
      scrutinize in class SnakScrutinizer
      Parameters:
      snak - : the snak to inspect
      entityId - : the entity on which it is going to (dis)appear
      added - : whether this snak is going to be added or deleted