The FileSet class provides methods and properties for accessing and managing filesets. It extends ProjectComponent and thus inherits all methods and properties (not explicitly declared). See ProjectComponent for further detail.
TODO:
[HL] .... not sure if that really makes so much sense. I think
that perhaps they should use common utility class if there really
is that much shared functionality
author |
Andreas Aderhold andi@binarycloud.com |
---|---|
author |
Hans Lellelid hans@xmpl.org |
version |
$Id: 69dc7789090e0600674855cfd424b1fa0bf2caa3 $ |
see | |
package |
phing.types |
__construct( $fileset = null)
appendSelector(\FileSelector $selector) : \the
circularReference()
createAnd()
createContains()
createContainsRegexp()
createCustom()
createDate()
createDepend()
createDepth()
createExclude()
createExcludesFile()
createFilename()
createInclude()
createIncludesFile()
createMajority()
createNone()
createNot()
createOr()
createPatternSet()
createPresent()
createSelector()
createSize()
createType()
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.
\Project
getCheckedRef( $requiredClass, $dataTypeName)
getDescription()
getDirectoryScanner(\Project $p)
getProject() : \Project
getRef(\Project $p)
getSelectors(\Project $p) : \an
hasPatterns() : boolean
boolean
Whether any patterns are in this container.
hasSelectors() : boolean
boolean
Whether any selectors are in this container
isReference()
log(string $msg, integer $level = \Project::MSG_INFO)
string
The message to be logged.
integer
The message's priority at this message should have
noChildrenAllowed()
parsingComplete() : void
selectorCount() : integer
integer
The number of selectors in this container
selectorElements() : array
array
The array of selectors
setCaseSensitive( $isCaseSensitive)
setDefaultexcludes( $useDefaultExcludes)
"true"|"on"|"yes" when default exclusions
should be used, "false"|"off"|"no" when they
shouldn't be used.
setDescription( $desc)
setDir( $dir)
setExcludes( $excludes)
setExcludesfile( $excl)
throws | |
---|---|
The file to fetch the exclude patterns from.
setExpandSymbolicLinks( $expandSymbolicLinks)
var | |
---|---|
setIncludes( $includes)
setIncludesfile( $incl)
throws | |
---|---|
The file to fetch the include patterns from.
setProject(\Project $project)
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()
\Reference
setupDirectoryScanner(\DirectoryScanner $ds, \Project $p)
tooManyAttributes()
useDefaultExcludes : boolean
var |
---|
boolean
additionalPatterns :
dir :
isCaseSensitive :
selectors :
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