Class FileCreatingFileSystemAction
- java.lang.Object
-
- org.syncany.operations.down.actions.FileSystemAction
-
- org.syncany.operations.down.actions.FileCreatingFileSystemAction
-
- Direct Known Subclasses:
ChangeFileSystemAction
,NewFileSystemAction
,RestoreFileSystemAction
public abstract class FileCreatingFileSystemAction extends FileSystemAction
-
-
Field Summary
Fields Modifier and Type Field Description protected Assembler
assembler
-
Fields inherited from class org.syncany.operations.down.actions.FileSystemAction
config, fileVersion1, fileVersion2, fileVersionHelper, logger, winningDatabase
-
-
Constructor Summary
Constructors Constructor Description FileCreatingFileSystemAction(Config config, MemoryDatabase winningDatabase, Assembler assembler, FileVersion file1, FileVersion file2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.io.File
assembleFileToCache(FileVersion reconstructedFileVersion)
protected void
createFile(FileVersion reconstructedFileVersion)
protected void
createFileFolderOrSymlink(FileVersion reconstructedFileVersion)
protected void
createFolder(FileVersion targetFileVersion)
-
Methods inherited from class org.syncany.operations.down.actions.FileSystemAction
createFolder, createSymlink, deleteFile, execute, fileAsExpected, fileAsExpected, fileChanges, fileExists, getAbsolutePathFile, getFile1, getFile2, getType, moveFileToFinalLocation, moveToConflictFile, moveToConflictFile, setFileAttributes, setFileAttributes, setLastModified, setLastModified
-
-
-
-
Constructor Detail
-
FileCreatingFileSystemAction
public FileCreatingFileSystemAction(Config config, MemoryDatabase winningDatabase, Assembler assembler, FileVersion file1, FileVersion file2)
-
-
Method Detail
-
createFileFolderOrSymlink
protected void createFileFolderOrSymlink(FileVersion reconstructedFileVersion) throws java.lang.Exception
- Throws:
java.lang.Exception
-
createFolder
protected void createFolder(FileVersion targetFileVersion) throws java.lang.Exception
- Throws:
java.lang.Exception
-
createFile
protected void createFile(FileVersion reconstructedFileVersion) throws java.lang.Exception
- Throws:
java.lang.Exception
-
assembleFileToCache
protected java.io.File assembleFileToCache(FileVersion reconstructedFileVersion) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-