Package com.e1c.g5.v8.dt.check.context
Class ModelRebuildScopeCollectorDefinition
- java.lang.Object
- 
- com.e1c.g5.v8.dt.check.context.ModelRebuildScopeCollectorDefinition
 
- 
 public final class ModelRebuildScopeCollectorDefinition extends Object This definition instructs the process of the check rebuild scope collection with a rebuild scenario for a particular type of the object. The scope collector uses this definition to visit necessary containments and features and collect target objects.
 The system adds a check validation task for each applicable object being collected This definition is also used to collect a single check rebuild scope for operations of forced validation with limited object scope (e.g. during the check settings changes and so on)
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classModelRebuildScopeCollectorDefinition.ContainmentPathNodeThe node of the containment path tree.
 - 
Constructor SummaryConstructors Constructor Description ModelRebuildScopeCollectorDefinition(boolean rebuildTop)Constructs the rebuild scope collector definition
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRebuildTargetFeature(org.eclipse.emf.ecore.EStructuralFeature... featurePath)Adds the feature that will be a target of a check in case if the model rebuild proccess will be initiatedMap<org.eclipse.emf.ecore.EStructuralFeature,ModelRebuildScopeCollectorDefinition.ContainmentPathNode>getRebuildTargetFeatures()Gets the definition of rebuild targets in form of the feature path tree set.
 This method shouldn't be used by check developers directlybooleanisRebuildTop()Checks if the corresponding rebuild scope collector should schedule the re-check of the root object as well as its containments being addressed via feature paths
 
- 
- 
- 
Constructor Detail- 
ModelRebuildScopeCollectorDefinitionpublic ModelRebuildScopeCollectorDefinition(boolean rebuildTop) Constructs the rebuild scope collector definition- Parameters:
- rebuildTop- Set to true in case if the top object itself is a target for the check in the result of the rebuild process
 
 
- 
 - 
Method Detail- 
addRebuildTargetFeaturepublic void addRebuildTargetFeature(org.eclipse.emf.ecore.EStructuralFeature... featurePath) Adds the feature that will be a target of a check in case if the model rebuild proccess will be initiated- Parameters:
- featurePath- The chain of features from the top object feature to the target feature. May not be- nullor empty
 
 - 
getRebuildTargetFeaturespublic Map<org.eclipse.emf.ecore.EStructuralFeature,ModelRebuildScopeCollectorDefinition.ContainmentPathNode> getRebuildTargetFeatures() Gets the definition of rebuild targets in form of the feature path tree set.
 This method shouldn't be used by check developers directly- Returns:
- The map of of feature path trees mapped to their root features. May not be null
 
 - 
isRebuildToppublic boolean isRebuildTop() Checks if the corresponding rebuild scope collector should schedule the re-check of the root object as well as its containments being addressed via feature paths- Returns:
- True if the top object should be a check target in case of the full rebuild
 
 
- 
 
-