AbstractSyncTask.SourceInfo
Constructor | Description |
---|---|
MoveTask() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
handleOutOfDateFile(FileObject srcFile,
FileObject destFile) |
Handles a single source file.
|
void |
setTryRename(boolean tryRename) |
Enable/disable move/rename of file (if possible).
|
addConfiguredSrc, detectMissingSourceFiles, execute, handleMissingSourceFile, isFailonerror, logOrDie, setDestDir, setDestFile, setFailonerror, setIncludes, setSrc, setSrcDir, setSrcDirIsBase
handleUpToDateFile, isOverwrite, isPreserveLastModified, setOverwrite, setPreserveLastModified
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
closeManager, resolveFile
public MoveTask()
public void setTryRename(boolean tryRename)
tryRename
- true if the file should be renamed.protected void handleOutOfDateFile(FileObject srcFile, FileObject destFile) throws FileSystemException
handleOutOfDateFile
in class CopyTask
srcFile
- The source FileObject.destFile
- The destination FileObject.FileSystemException