@FunctionalInterface public interface JCasValidationCheck extends ValidationCheck
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.
Modifier and Type | Method and Description |
---|---|
List<ValidationResult> |
validate(org.apache.uima.jcas.JCas cas)
Apply this check to the given CAS.
|
fail, skip
List<ValidationResult> validate(org.apache.uima.jcas.JCas cas) throws ValidationCheckException
cas
- the CAS to check.ValidationCheckException
- if there was a problem performing the validation.Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.