Moved out of MatchingTask to make it a standalone object that could be referenced (by scripts for example).
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
package |
phing.types |
---|---|
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 |
Magesh Umasankar (Ant) |
__clone()
__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