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 TypeMethodDescriptionvoidperform(IMergeSession mergeSession) Performs the operation.
-
Constructor Details
-
AddFilePostponedOperation
Creates a new instance.- Parameters:
mainPath- the main side new file path, cannot benullotherPath- 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 benullcontentStreamProvider- the content input stream provider for the new file, cannot benull
-
-
Method Details
-
perform
Description copied from interface:IPostponedFileOperationPerforms the operation.- Specified by:
performin interfaceIPostponedFileOperation- Parameters:
mergeSession- the merge session, cannot benull
-