public class DeleteTask extends VfsTask
Constructor and Description |
---|
DeleteTask() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes this task.
|
void |
setFile(String file)
Sets the file/folder to delete.
|
void |
setIncludes(String filesList)
Sets the files to include.
|
void |
setSrcDir(String srcDir)
Sets the source directory.
|
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
public void setFile(String file)
file
- The name of the file.public void setSrcDir(String srcDir)
srcDir
- The source directory.public void setIncludes(String filesList)
filesList
- The list of files.public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
- if an error occurs.Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.