Package com.e1c.g5.v8.dt.internal.check
Interface ICheckExecutor
- All Known Implementing Classes:
CheckExecutor
public interface ICheckExecutor
This service extends the capabilities of the
ICheckScheduler
with ability to execute checks directly to
have a single point of check handling in the ACC.
It's a part of an internal API and not intended to be used by check developers-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Check context collector. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
validateLanguage
(Object object, Set<String> checkIds, org.eclipse.emf.common.util.DiagnosticChain diagnosticChain, ICheckExecutor.CheckContextCollector contextCollector, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Validates the language model object with a given set of the checksvoid
validateModel
(Object object, Set<CheckUid> checkUids, ICheckExecutor.CheckContextCollector contextCollector, MarkerUpdateBatch markerUpdateBatch, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Validates the model object with a given set of the checks
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
validateLanguage
void validateLanguage(Object object, Set<String> checkIds, org.eclipse.emf.common.util.DiagnosticChain diagnosticChain, ICheckExecutor.CheckContextCollector contextCollector, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Validates the language model object with a given set of the checks- Parameters:
object
- The language model object to validate. May not benull
checkIds
- The set of check identifier to perform on this object. May not benull
diagnosticChain
- The language diagnostic chaing to accept found issues. May not benull
contextCollector
- Collects contexts of checks. Cannot benull
progressMonitor
- The progress monitor for the operative management of long-running checks. May not benull
-
validateModel
void validateModel(Object object, Set<CheckUid> checkUids, ICheckExecutor.CheckContextCollector contextCollector, MarkerUpdateBatch markerUpdateBatch, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Validates the model object with a given set of the checks- Parameters:
object
- The model object to validate. May not benull
checkUids
- The set of check identifier to perform on this object. May not benull
markerUpdateBatch
- the markers' batch. SeeMarkerUpdateBatch
for more info. Cannot benull
.contextCollector
- Collects contexts of checks. Cannot benull
progressMonitor
- The progress monitor for the operative management of long-running checks. May not benull
-