This is an abstract task that should be used by all those tasks that require to include or exclude files based on pattern matching.
This is very closely based on the ANT class of the same name.
| author |
Hans Lellelid hans@xmpl.org (Phing) |
|---|---|
| author |
Arnout J. Kuiper ajkuiper@wxs.nl (Ant) |
| author |
Stefano Mazzocchi stefano@apache.org (Ant) |
| author |
Sam Ruby rubys@us.ibm.com (Ant) |
| author |
Jon S. Stevens jon@clearink.com (Ant |
| author |
Stefan Bodewig stefan.bodewig@epost.de (Ant) |
| author |
Bruce Atherton bruce@callenish.com (Ant) |
| version |
$Id: 1e1f6274f400b90c2344c8cdb5d3711030b8f44a $ |
| package |
phing.tasks.system |
__construct()
setProject(\Project $project)
createInclude() : \PatternSetNameEntry
createIncludesFile() : \PatternSetNameEntry
createExclude() : \PatternSetNameEntry
createExcludesFile() : \PatternSetNameEntry
setIncludes(string $includes) : void
stringthe string containing the include patterns
setExcludes(string $excludes)
stringthe string containing the exclude patterns
setDefaultexcludes(boolean $useDefaultExcludes)
boolean"true"|"on"|"yes" when default exclusions should be used, "false"|"off"|"no" when they shouldn't be used.
getDirectoryScanner(\PhingFile $baseDir) : \DirectoryScanner
setIncludesfile(\PhingFile $includesfile) : void
setExcludesfile(\PhingFile $excludesfile) : void
setCaseSensitive(boolean $isCaseSensitive) : void
boolean"true"|"on"|"yes" if file system is case sensitive, "false"|"off"|"no" when not.
setFollowSymlinks(boolean $followSymlinks) : void
booleanwhether or not symbolic links should be followed
hasSelectors() : boolean
booleanWhether any selectors are in this container
selectorCount() : int
intThe number of selectors in this container
getSelectors(\Project $p) : array
selectorElements() : \an
\anenumerator that goes through each of the selectors
appendSelector(\FileSelector $selector) : void
createSelector() : \SelectSelector
createOr() : void
createNone() : \NoneSelector
createMajority() : \MajoritySelector
createFilename() : \FilenameSelector
createCustom() : \ExtendSelector
createContains() : \ContainsSelector
createPresent() : \PresentSelector
createDepth() : \DepthSelector
createDepend() : \DependSelector
setOwningTarget(\Target $target)
getOwningTarget() : \Target
getTaskName() : string
stringName of this task
setTaskName(string $name) : string
string
stringA string representing the name of this task for log
getTaskType() : string
stringThe type of this task (XML Tag)
setTaskType($name)
getRegisterSlot(string $slotName)
string
log(string $msg, integer $level = \Project::MSG_INFO)
stringThe message to be logged.
integerThe message's priority at this message should have
setDescription(string $desc)
stringThe text describing the task
getDescription() : string
stringThe 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 |
|---|
main()
Should throw a BuildException if someting goes wrong with the build
This is abstract here. Must be overloaded by real tasks.
getLocation() : \Location
setLocation(\Location $location)
getRuntimeConfigurableWrapper() : \RuntimeConfigurable
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
maybeConfigure()
perform()
getProject() : \Project
useDefaultExcludes : boolean
| var |
|---|
boolean
description : string
| var |
|---|
string
taskType : string
| var |
|---|
string
taskName : string
| var |
|---|
string
project : \Project