Deletes a file or directory, or set of files defined by a fileset.
Use {@link Project#createTask} to register a new Task.
version |
$Id: c8a27d142a32a51a6cba57b752ad7d36bd4c8a0c $ |
---|---|
package |
phing.tasks.system |
setDir(\PhingFile $dir)
setVerbose(boolean $verbosity)
boolean
setQuiet($bool)
This means that if a file or directory cannot be deleted, then no error is reported. This setting emulates the -f option to the Unix rm command. Default is false meaning things are verbose
setFailOnError($bool)
setIncludeEmptyDirs($includeEmpty)
addFileSet(\FileSet $fs)
createFileList()
main()
Should throw a BuildException if someting goes wrong with the build
This is abstract here. Must be overloaded by real tasks.
removeDir(\PhingFile $d)
removeFiles(\PhingFile $d, $files, $dirs)
setOwningTarget(\Target $target)
getOwningTarget() : \Target
getTaskName() : string
string
Name of this task
setTaskName(string $name) : string
string
string
A string representing the name of this task for log
getTaskType() : string
string
The type of this task (XML Tag)
setTaskType($name)
getRegisterSlot(string $slotName)
string
log(string $msg, integer $level = \Project::MSG_INFO)
string
The message to be logged.
integer
The message's priority at this message should have
setDescription(string $desc)
string
The text describing the task
getDescription() : string
string
The text description of the task
init()
Should throw a BuildException if something goes wrong with the build
This is abstract here, but may not be overloaded by subclasses.
throws |
---|
getLocation() : \Location
setLocation(\Location $location)
getRuntimeConfigurableWrapper() : \RuntimeConfigurable
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
maybeConfigure()
perform()
setProject(\Project $project)
getProject() : \Project
file :
dir :
filesets :
includeEmpty :
quiet :
failonerror :
verbosity :
filelists :
description : string
var |
---|
string
taskType : string
var |
---|
string
taskName : string
var |
---|
string
project : \Project