Package com.e1c.g5.v8.dt.check
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
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
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 checksvoid
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.-
Methods inherited from interface com._1c.g5.wiring.IManagedService
activate, deactivate
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
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, notnull
checkIds
- The set of target check identifeirs. If empty set is applied - all applicable checks will be cleared, notnull
progressMonitor
- progress monitor, notnull
-
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, notnull
checkIds
- The set of target check identifeirs. If empty set is applied - all applicable checks will be scheduled, notnull
topObjectIds
- Identifiers of checked objects, all available objects if left empty, notnull
transaction
- The active read-only transaction to perform the scheduling of checks (e.g. context collection)progressMonitor
- progress monitor, notnull
-
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, notnull
checkIds
- The set of target check identifeirs. If empty set is applied - all applicable checks will be scheduled, notnull
topObjectIds
- Identifiers of checked objects, all available objects if left empty, notnull
progressMonitor
- progress monitor, notnull
-
-