The patternset storage component. Carries all necessary data and methods for the patternset stuff.
This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)
author |
Andreas Aderhold, andi@binarycloud.com |
---|---|
version |
$Id: af3bd3709d79ad0299bf6ec0130a8a244ee325ab $ |
package |
phing.types |
setRefid(\Reference $r) : void
Subclasses may need to check whether any other attributes have been set as well or child elements have been created and thus override this method. if they do they must call parent::setRefid()
createInclude() : \PatternSetNameEntry
createIncludesFile() : \PatternSetNameEntry
createExclude() : \PatternSetNameEntry
createExcludesFile() : \PatternSetNameEntry
setIncludes($includes) : void
throws |
---|
setExcludes($excludes) : void
throws |
---|
addPatternToList($list) : \PatternSetNameEntry
setIncludesFile($includesFile)
setExcludesFile($excludesFile)
readPatterns(\PhingFile $patternfile, $patternlist, \Project $p)
append($other, $p)
hasPatterns()
getRef(\Project $p)
makeArray($list, \Project $p)
readFiles(\Project $p)
toString()
setDescription($desc)
getDescription()
isReference()
dieOnCircularReference($stk, \Project $p)
If one is included, throw a BuildException created by circularReference
This implementation is appropriate only for a DataType that cannot hold other DataTypes as children.
The general contract of this method is that it shouldn't do anything if checked is true and set it to true on exit.
getCheckedRef($requiredClass, $dataTypeName)
tooManyAttributes()
noChildrenAllowed()
circularReference()
parsingComplete() : void
setProject(\Project $project)
getProject() : \Project
log(string $msg, integer $level = \Project::MSG_INFO)
string
The message to be logged.
integer
The message's priority at this message should have
includeList :
excludeList :
includesFileList :
excludesFileList :
description :
ref :
checked : boolean
Subclasses are responsible for setting this value to false if we'd need to investigate this condition (usually because a child element has been added that is a subclass of DataType).
var |
---|
boolean
project : \Project