Package com._1c.g5.v8.dt.compare.merge
Class AddFilePostponedOperation
java.lang.Object
com._1c.g5.v8.dt.compare.merge.AddFilePostponedOperation
- All Implemented Interfaces:
IPostponedFileOperation
The postponed operation of adding a new file.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.compare.merge.IPostponedFileOperation
IPostponedFileOperation.IContentStreamProvider
-
Constructor Summary
ConstructorsConstructorDescriptionAddFilePostponedOperation
(Path mainPath, IPostponedFileOperation.IContentStreamProvider contentStreamProvider) Creates a new instance.AddFilePostponedOperation
(Path mainPath, Path otherPath) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
perform
(IMergeSession mergeSession) Performs the operation.
-
Constructor Details
-
AddFilePostponedOperation
Creates a new instance.- Parameters:
mainPath
- the main side new file path, cannot benull
otherPath
- the other side path of the file whose content will be taken for the new file, cannot benull
-
AddFilePostponedOperation
public AddFilePostponedOperation(Path mainPath, IPostponedFileOperation.IContentStreamProvider contentStreamProvider) Creates a new instance.- Parameters:
mainPath
- the main side new file path, cannot benull
contentStreamProvider
- the content input stream provider for the new file, cannot benull
-
-
Method Details
-
perform
Description copied from interface:IPostponedFileOperation
Performs the operation.- Specified by:
perform
in interfaceIPostponedFileOperation
- Parameters:
mergeSession
- the merge session, cannot benull
-