Interface IBasicCheckExtension

All Known Implementing Classes:
ModuleTopObjectNameFilterExtension, TopObjectFilterExtension

public interface IBasicCheckExtension
Generic extension of the BasicCheck. Allows to contribute semi-ready pluggable solutions into the BasicCheck descendants
  • Method Details

    • configureContextCollector

      default void configureContextCollector(ICheckDefinition definition)
      This method allows to add settings to the ICheckDefinition during the check configuration cycle
      Parameters:
      definition - The check definition. May not be null
    • contributeTopObjectFilter

      default ITopObjectFilter contributeTopObjectFilter()
      Contributes the top object model filter if necessary
      Returns:
      The filter to contribute. May be left null in case if the filter isn't necessary
    • preCheck

      default boolean preCheck(Object object, ICheckParameters parameters, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
      Parameters:
      object - The context object. May not be null
      parameters - The set of check parameters. May not be null
      progressMonitor - The progress monitor to control check execution. May not be null
      Returns:
      True in case if the check must be executed. False otherwise