Package com.io7m.montarre.io.internal

# 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 Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `MCheckAbstract()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected final void`
  `attribute(String name, Object value)`
  `protected final void`
  `clearAttributes()`
  `protected final void`
  `error(String errorCode, String message)`
  `final List<MValidationIssue>`
  `execute(MPackageDeclaration declaration)`
  Execute the check.
  `protected abstract void`
  `onExecute(MPackageDeclaration declaration)`
  `protected final void`
  `warning(String errorCode, String message)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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)