public class MoveTask extends CopyTask
TODO - Delete matching folders.
AbstractSyncTask.SourceInfo| Constructor and Description |
|---|
MoveTask() |
| Modifier and Type | Method and 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).
|
handleUpToDateFile, isOverwrite, isPreserveLastModified, setOverwrite, setPreserveLastModifiedaddConfiguredSrc, detectMissingSourceFiles, execute, handleMissingSourceFile, isFailonerror, logOrDie, setDestDir, setDestFile, setFailonerror, setIncludes, setSrc, setSrcDir, setSrcDirIsBasecloseManager, resolveFilegetDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void setTryRename(boolean tryRename)
tryRename - true if the file should be renamed.protected void handleOutOfDateFile(FileObject srcFile, FileObject destFile) throws FileSystemException
handleOutOfDateFile in class CopyTasksrcFile - The source FileObject.destFile - The destination FileObject.FileSystemExceptionCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.