AbstractSyncTask.SourceInfo
Constructor and Description |
---|
MoveTask()
Constructs a new instance.
|
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, setPreserveLastModified
addConfiguredSrc, detectMissingSourceFiles, execute, handleMissingSourceFile, isFailonerror, logOrDie, setDestDir, setDestFile, setFailonerror, setIncludes, setSrc, setSrcDir, setSrcDirIsBase
closeManager, resolveFile
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
protected void handleOutOfDateFile(FileObject srcFile, FileObject destFile) throws FileSystemException
handleOutOfDateFile
in class CopyTask
srcFile
- The source FileObject.destFile
- The destination FileObject.FileSystemException
public void setTryRename(boolean tryRename)
tryRename
- true if the file should be renamed.Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.