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 Summary
Constructors Constructor Description PartBasedComputingUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.static ICaseSpecificContextCollector
rebuildSelf(String... segmentIds)
Marks context of the processed object as full rebuild target.
-
-
-
Method Detail
-
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
public 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 benull
- Returns:
- The configured rebuild context collector, never
null
-
-