<condition> task as a generalization of <available>
This task supports boolean logic as well as pluggable conditions to decide, whether a property should be set.
This task does not extend Task to take advantage of ConditionBase.
author |
Andreas Aderhold andi@binarycloud.com |
---|---|
copyright |
2001,2002 THYRELL. All rights reserved |
version |
$Id: 6c015291a1baa566c81811171f8dc3765d23ec83 $ |
package |
phing.tasks.system |
__construct( $taskName = 'component')
countConditions() : integer
integer
createFilesMatch()
createHasFreeSpace()
createHttp()
createIsFailure()
createIsFileSelected()
createIsPropertyFalse() : \IsPropertyFalseCondition
createIsPropertyTrue() : \IsPropertyTrueCondition
createMatches()
createPhingVersion()
createReferenceExists() : \ReferenceExistsCondition
createSocket()
createVersionCompare()
customChildCreator(string $elementName, \Project $project) : \Condition
throws |
---|
string
the name of the element that has been requested
\Condition
getIterator()
getProject() : \Project
getTaskName() : string
string
the name to use in logging messages.
log(string $msg, integer $level = \Project::MSG_INFO) : void
string
The message to be logged.
integer
The message's priority at this message should have
main() : void
throws | |
---|---|
setElse(string $v)
If this attribute is not specified, the property will not be set.
string
setProject(\Project $project) : void
setProperty(string $p) : void
string
setTaskName(string $name)
string
The name to use in logging messages.
Should not be null
.
setValue(string $v) : void
string
property : string
var |
---|
string
value : string
var |
---|
string
alternative : string
var |
---|
string
conditions :
taskName : string
var |
---|
string
project : \Project