public class SyncTask extends CopyTask
AbstractSyncTask.SourceInfo
Constructor and Description |
---|
SyncTask() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
detectMissingSourceFiles()
Check if this task cares about destination files with a missing source file.
|
protected void |
handleMissingSourceFile(FileObject destFile)
Handles a destination for which there is no corresponding source file.
|
handleOutOfDateFile, handleUpToDateFile, isOverwrite, isPreserveLastModified, setOverwrite, setPreserveLastModified
addConfiguredSrc, execute, isFailonerror, logOrDie, setDestDir, setDestFile, setFailonerror, setIncludes, setSrc, setSrcDir, setSrcDirIsBase
closeManager, resolveFile
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
protected void handleMissingSourceFile(FileObject destFile) throws Exception
handleMissingSourceFile
in class AbstractSyncTask
destFile
- The existing destination file.Exception
- Implementation can throw any Exception.protected boolean detectMissingSourceFiles()
detectMissingSourceFiles
in class AbstractSyncTask
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.