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.

@FunctionalInterface public interface CancellationChecker
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

    Modifier and Type
    Method
    Description
    void
    Check if validation should be cancelled.
  • Method Details

    • check

      void check()
      Check if validation should be cancelled.

      Implementations should throw an exception to signal cancellation.