Class PrepairedFileOverlayDeltaProvider
java.lang.Object
com._1c.g5.v8.dt.internal.compare.datasource.PrepairedFileOverlayDeltaProvider
- All Implemented Interfaces:
IOverlayDeltaProvider
Delta provided for externally prepared file deltas. Some subsystems (like IB synchro) are able
to provide deltas by themselves
-
Constructor Summary
ConstructorsConstructorDescriptionPrepairedFileOverlayDeltaProvider
(IComparisonDataSource baseDataSource, Path overlayRootPath) Constructs a provider -
Method Summary
Modifier and TypeMethodDescriptiongetOverlayDelta
(org.eclipse.core.runtime.IProgressMonitor progressMonitor) Gets the delta ready for the import into the overlay data sourcevoid
stop()
Stops the overlay delta provider in the flow of the comparison session closure.
-
Constructor Details
-
PrepairedFileOverlayDeltaProvider
public PrepairedFileOverlayDeltaProvider(IComparisonDataSource baseDataSource, Path overlayRootPath) Constructs a provider- Parameters:
baseDataSource
- The base data source. May benull
.overlayRootPath
- The path to the delta file tree. May not benull
-
-
Method Details
-
getOverlayDelta
Description copied from interface:IOverlayDeltaProvider
Gets the delta ready for the import into the overlay data source- Specified by:
getOverlayDelta
in interfaceIOverlayDeltaProvider
- Parameters:
progressMonitor
- The progress monitor to monitor the progress. May not benull
- 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 interfaceIOverlayDeltaProvider
-