org.apache.uima.fit.validation

## Interface JCasValidationCheck

- All Superinterfaces:
    ValidationCheck
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public interface JCasValidationCheck
      extends ValidationCheck

  JCas validation check.

  Note: Implementations of this class are typically singletons which are obtained through the Java Service Locator mechanism. This means that the implementations must be stateless to ensure that they can be used by multiple threads concurrently.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<ValidationResult>` | `validate(JCas cas)` Apply this check to the given CAS.

    - ### Methods inherited from interface org.apache.uima.fit.validation.ValidationCheck

      `fail, skip`

- - ### Method Detail

    - #### validate

          List<ValidationResult> validate(JCas cas)
                                   throws ValidationCheckException

      Apply this check to the given CAS.
      Parameters:
        `cas` - the CAS to check.
      Returns:
        the results of the check.
      Throws:
        `ValidationCheckException` - if there was a problem performing the validation.

Copyright © 2012–2021 The Apache Software Foundation. All rights reserved.