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 Summary
Constructors -
Method Summary
Modifier 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
-
PartBasedComputingUtils
public PartBasedComputingUtils()
-
-
Method Details
-
createSelfRebuildScopeCollector
public 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.
-
rebuildSelf
Marks context of the processed object as full rebuild target.- Parameters:
segmentIds
- The set of target DD segments for rebuilding, cannot benull
- Returns:
- The configured rebuild context collector, never
null
-