Package com._1c.g5.v8.derived.computer
Class PartBasedComputingUtils
- java.lang.Object
- 
- com._1c.g5.v8.derived.computer.PartBasedComputingUtils
 
- 
 public class PartBasedComputingUtils extends Object Basic set of standard tools for building up rebuild scope and context collectors based on DD parts principle.
- 
- 
Constructor SummaryConstructors Constructor Description PartBasedComputingUtils()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static IDerivedDataPartBasedRebuildScopeCollectorcreateSelfRebuildScopeCollector(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.static ICaseSpecificContextCollectorrebuildSelf(String... segmentIds)Marks context of the processed object as full rebuild target.
 
- 
- 
- 
Method Detail- 
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.
 
 - 
rebuildSelfpublic static ICaseSpecificContextCollector rebuildSelf(String... segmentIds) Marks 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
 
 
- 
 
-