# Class CLN2Validator

java.lang.Object
com.io7m.calino.vanilla.internal.CLN2Validator

All Implemented Interfaces:
  `CLNValidatorType`

public final class CLN2Validator extends Object implements CLNValidatorType
A validator.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CLN2Validator(CLN2ValidationErrors inErrors, CLNFileReadableType inFile)`
  A validator.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<CLNValidationError>`
  `execute()`
  Execute the validator.

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### CLN2Validator

    public CLN2Validator(CLN2ValidationErrors inErrors, CLNFileReadableType inFile)
    A validator.
    Parameters:
      `inErrors` - An error factory
      `inFile` - The file to be validated

- ## Method Details

  - ### execute

    public List<CLNValidationError> execute()
    Description copied from interface: `CLNValidatorType`
    Execute the validator.
    Specified by:
      `execute` in interface `CLNValidatorType`
    Returns:
      The validation errors, if any occurred