public class HardlinkFileTransfer extends AbstractExecFileTransfer
AbstractFileTransfer.Transfers
log
Constructor and Description |
---|
HardlinkFileTransfer() |
Modifier and Type | Method and Description |
---|---|
void |
afterTransfer(int errors,
java.util.List<java.lang.String> srcFiles)
No cleanup action is taken.
|
protected java.lang.ProcessBuilder |
createProcessBuilder(java.io.File file,
java.io.File location)
Executes "ln file location" (Unix) or "mklink /H location file" (Windows)
and fails on non-0 return codes.
|
checkLocation, checkTarget, exec, failLocationCheck, getLocalLocation, printLine, transfer
cleanupUpload, createTransfer, deleteTransferredFiles, finish, isWindows, start
protected java.lang.ProcessBuilder createProcessBuilder(java.io.File file, java.io.File location)
createProcessBuilder
in class AbstractExecFileTransfer
file
- File to be copied.location
- Location to copy to.java.io.IOException
public void afterTransfer(int errors, java.util.List<java.lang.String> srcFiles) throws CleanupFailure
CleanupFailure
Version: 5.4.6-ice35-b87
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.