Interface ICheckScheduler

  • All Superinterfaces:
    IManagedService

    public interface ICheckScheduler
    extends IManagedService
    This service allows to schedule checks for the provided set of features and target objects Checks are being executed by ACC subsystem in asynchronous manner, with results immediatelly available on finihish of the schedule check
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void scheduleClearance​(org.eclipse.core.resources.IProject project, Set<String> checkIds, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
      Schedules the clearance of the check results for the given set of checks
      void scheduleValidation​(org.eclipse.core.resources.IProject project, Set<String> checkIds, Collection<Object> topObjectIds, IBmTransaction transaction, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
      Schedules the model object validation for objects with given object ids by suitable checks with the given check ids.
      void scheduleValidation​(org.eclipse.core.resources.IProject project, Set<String> checkIds, Collection<Object> topObjectIds, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
      Schedules the model object validation for objects with given object ids by suitable checks with the given check ids.
    • Method Detail

      • scheduleClearance

        void scheduleClearance​(org.eclipse.core.resources.IProject project,
                               Set<String> checkIds,
                               org.eclipse.core.runtime.IProgressMonitor progressMonitor)
        Schedules the clearance of the check results for the given set of checks
        Parameters:
        project - Target project, not null
        checkIds - The set of target check identifeirs. If empty set is applied - all applicable checks will be cleared, not null
        progressMonitor - progress monitor, not null
      • scheduleValidation

        void scheduleValidation​(org.eclipse.core.resources.IProject project,
                                Set<String> checkIds,
                                Collection<Object> topObjectIds,
                                IBmTransaction transaction,
                                org.eclipse.core.runtime.IProgressMonitor progressMonitor)
        Schedules the model object validation for objects with given object ids by suitable checks with the given check ids. It will probably be executed asynchronously. It can be canceled using the progress monitor.
        Parameters:
        project - Target project, not null
        checkIds - The set of target check identifeirs. If empty set is applied - all applicable checks will be scheduled, not null
        topObjectIds - Identifiers of checked objects, all available objects if left empty, not null
        transaction - The active read-only transaction to perform the scheduling of checks (e.g. context collection)
        progressMonitor - progress monitor, not null
      • scheduleValidation

        void scheduleValidation​(org.eclipse.core.resources.IProject project,
                                Set<String> checkIds,
                                Collection<Object> topObjectIds,
                                org.eclipse.core.runtime.IProgressMonitor progressMonitor)
        Schedules the model object validation for objects with given object ids by suitable checks with the given check ids. It will probably be executed asynchronously. It can be canceled using the progress monitor.
        Parameters:
        project - Target project, not null
        checkIds - The set of target check identifeirs. If empty set is applied - all applicable checks will be scheduled, not null
        topObjectIds - Identifiers of checked objects, all available objects if left empty, not null
        progressMonitor - progress monitor, not null