Constructor and Description |
---|
DeleteTask()
Constructs a new instance.
|
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 srcDirUrl)
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 execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
- if an error occurs.public void setFile(String file)
file
- The name of the file.public void setIncludes(String filesList)
filesList
- The list of files.public void setSrcDir(String srcDirUrl)
srcDirUrl
- The source directory.Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.