Class MCheckAbstract

java.lang.Object
com.io7m.montarre.io.internal.MCheckAbstract
All Implemented Interfaces:
MCheckType
Direct Known Subclasses:
MCheckApplicationID, MCheckDescription, MCheckIcons, MCheckName, MCheckScreenshots, MCheckSummary

public abstract class MCheckAbstract extends Object implements MCheckType
An abstract check.
  • Constructor Details

    • MCheckAbstract

      protected MCheckAbstract()
  • Method Details

    • execute

      public final List<MValidationIssue> execute(MPackageDeclaration declaration)
      Description copied from interface: MCheckType
      Execute the check.
      Specified by:
      execute in interface MCheckType
      Parameters:
      declaration - The declaration
      Returns:
      The issues
    • onExecute

      protected abstract void onExecute(MPackageDeclaration declaration)
    • error

      protected final void error(String errorCode, String message)
    • warning

      protected final void warning(String errorCode, String message)
    • clearAttributes

      protected final void clearAttributes()
    • attribute

      protected final void attribute(String name, Object value)