Package com.e1c.g5.v8.dt.internal.check
Interface ICheckMetadataManager
- All Known Subinterfaces:
ICheckRepository
- All Known Implementing Classes:
CheckRepository
public interface ICheckMetadataManager
Manages the check metadata (like EClass affection, rebuild scope collectors and so on) and provides access to them
for consumers (DD, forced validation, etc).
This interface isn't the part of the public API and shouldn't be used directly.
-
Method Summary
Modifier and TypeMethodDescriptionGets the set ofEClass
'es which is being processed by the corresponding checksGets complexities for all registered checksdefault Map<CheckUid,
CheckDefinition> Gets all check defintions for all registered checksgetDescription
(CheckUid checkId) Returns a check description (without overrides from user preferences).Gets identifiers of all registered language checksGets targetEClass
'es for language modules check visitorGets language resource change context collectorsdefault Map<org.eclipse.emf.ecore.EClass,
ModelRebuildDefinition> Gets registered rebuild scope definitions
-
Method Details
-
getApplicableEClasses
Gets the set ofEClass
'es which is being processed by the corresponding checks- Returns:
- The set of
EClass
'es mapped to respective check identifiers. May not benull
-
getCheckComplexities
Map<CheckUid,CheckComplexity> getCheckComplexities()Gets complexities for all registered checks- Returns:
- The check complexities mapped to check identifiers. May not be
null
-
getCheckContextDefinitions
Gets all check defintions for all registered checks- Returns:
- The
CheckDefinition
's mapped to check identifiers. May not benull
-
getDescription
Returns a check description (without overrides from user preferences).- Parameters:
checkId
- check id, notnull
- Returns:
- check description by default, not
null
- Throws:
NoSuchElementException
- if none.
-
getLanguageChecks
Gets identifiers of all registered language checks- Returns:
- The set of registered language check identifiers. May not be
null
-
getLanguageCheckTargetEClasses
Gets targetEClass
'es for language modules check visitor- Returns:
- The language module's
EClass
'es mapped to check identifiers. May not benull
-
getLanguageResourceChangesContextCollectors
default Map<CheckUid,OnLanguageResourceChangesContextCollector> getLanguageResourceChangesContextCollectors()Gets language resource change context collectors- Returns:
OnLanguageResourceChangesContextCollector
mapped to corresponding check identifiers. May not benull
-
getModelRebuildDefinitions
Gets registered rebuild scope definitions- Returns:
- The collection of rebuild scope definitions mapped to their target
EClass
-es. May not benull
-