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
public class AddFilePostponedOperation extends Object implements 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
Constructors Constructor Description AddFilePostponedOperation(Path mainPath, IPostponedFileOperation.IContentStreamProvider contentStreamProvider)
Creates a new instance.AddFilePostponedOperation(Path mainPath, Path otherPath)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
perform(IMergeSession mergeSession)
Performs the operation.
-
-
-
Constructor Detail
-
AddFilePostponedOperation
public AddFilePostponedOperation(Path mainPath, Path otherPath)
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 Detail
-
perform
public void perform(IMergeSession mergeSession)
Description copied from interface:IPostponedFileOperation
Performs the operation.- Specified by:
perform
in interfaceIPostponedFileOperation
- Parameters:
mergeSession
- the merge session, cannot benull
-
-