Package com.networknt.schema
Interface CancellationChecker
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for checking if validation should be cancelled.
This allows IDE integration to provide cooperative cancellation via callbacks like ProgressManager.checkCanceled().
The checker should throw an exception (e.g., ProcessCanceledException) if validation should be cancelled.
-
Method Summary
-
Method Details
-
check
void check()Check if validation should be cancelled.Implementations should throw an exception to signal cancellation.
-