Class SegmentObjectRebuildDefinition

java.lang.Object
com._1c.g5.v8.derived.computer.SegmentObjectRebuildDefinition

public class SegmentObjectRebuildDefinition extends Object
Defines root object types for objects which DDs are (potentially) existing in the given segment. The system combines information from all segments to decide which DD segments should be re-build in case if full rebuild is requested for the whole object (import, crash recovery, explicit rebuild).
  • Constructor Details

    • SegmentObjectRebuildDefinition

      public SegmentObjectRebuildDefinition(String segmentId, org.eclipse.emf.ecore.EClass... rebuildTargets)
      Creates an info holder.
      Parameters:
      segmentId - The target segment.
      rebuildTargets - Top object classes which DD should be rebuild in this segment in case of full DD rebuild request.
  • Method Details

    • getRebuildTargets

      public org.eclipse.emf.ecore.EClass[] getRebuildTargets()
      Gets target classes for the rebuild.
      Returns:
      The set of classes for the rebuild facility to use during rebuild requests.
    • getSegmentId

      public String getSegmentId()
      Gets rebuild targets for the given segment.
      Returns:
      The identifier of the target DD segment.