Package com._1c.g5.v8.derived.computer
Class PartBasedComputingUtils
java.lang.Object
com._1c.g5.v8.derived.computer.PartBasedComputingUtils
Basic set of standard tools for building up rebuild scope and context collectors based on DD parts principle.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreateSelfRebuildScopeCollector(org.eclipse.emf.ecore.EClass eClass, String[] parts) Creates new rebuild scope collector for a given eClass and set of parts, which collects scope consisting of the given object and specified parts.rebuildSelf(String... segmentIds) Marks context of the processed object as full rebuild target.
- 
Constructor Details- 
PartBasedComputingUtilspublic PartBasedComputingUtils()
 
- 
- 
Method Details- 
createSelfRebuildScopeCollectorpublic static IDerivedDataPartBasedRebuildScopeCollector createSelfRebuildScopeCollector(org.eclipse.emf.ecore.EClass eClass, String[] parts) Creates new rebuild scope collector for a given eClass and set of parts, which collects scope consisting of the given object and specified parts.- Parameters:
- eClass- Target EClass for matching.
- parts- DD parts that will be re-computed in case of full rebuild. Could be null or empty.
- Returns:
- The configured rebuild scope collector.
 
- 
rebuildSelfMarks context of the processed object as full rebuild target.- Parameters:
- segmentIds- The set of target DD segments for rebuilding, cannot be- null
- Returns:
- The configured rebuild context collector, never null
 
 
-