Class PrepairedFileOverlayDeltaProvider

java.lang.Object
com._1c.g5.v8.dt.internal.compare.datasource.PrepairedFileOverlayDeltaProvider
All Implemented Interfaces:
IOverlayDeltaProvider

public class PrepairedFileOverlayDeltaProvider extends Object implements IOverlayDeltaProvider
Delta provided for externally prepared file deltas. Some subsystems (like IB synchro) are able to provide deltas by themselves
  • Constructor Details

    • PrepairedFileOverlayDeltaProvider

      public PrepairedFileOverlayDeltaProvider(IComparisonDataSource baseDataSource, Path overlayRootPath)
      Constructs a provider
      Parameters:
      baseDataSource - The base data source. May be null.
      overlayRootPath - The path to the delta file tree. May not be null
  • Method Details

    • getOverlayDelta

      public ImportRequest getOverlayDelta(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
      Description copied from interface: IOverlayDeltaProvider
      Gets the delta ready for the import into the overlay data source
      Specified by:
      getOverlayDelta in interface IOverlayDeltaProvider
      Parameters:
      progressMonitor - The progress monitor to monitor the progress. May not be null
      Returns:
      The import request. May not be null
    • stop

      public void stop()
      Description copied from interface: IOverlayDeltaProvider
      Stops the overlay delta provider in the flow of the comparison session closure. Should be failure-proof to not hinder sequential stops of other sources.
      Specified by:
      stop in interface IOverlayDeltaProvider