Abstract baseclass for the task as well as several conditions - ensures that the types of conditions inside the task and the "container" conditions are in sync.

author Hans Lellelid
author Andreas Aderhold
copyright 2001,2002 THYRELL. All rights reserved
version $Id: f667c12da5ad79ccdd6f2d346f5c5bcede98b0a7 $
package phing.tasks.system.condition

 Methods

addAvailable()

addAvailable(\AvailableTask $a) : void

Parameters

$a

countConditions()

countConditions() 

createAnd()

createAnd() : \AndCondition

Returns

createContains()

createContains() : \ContainsCondition

createEquals()

createEquals() : \EqualsCondition

createIsFalse()

createIsFalse() : \IsFalseCondition

createIsSet()

createIsSet() : \IsSetCondition

Returns

createIsTrue()

createIsTrue() : \IsTrueCondition

createNot()

createNot() : \NotCondition

Returns

createOr()

createOr() : \OrCondition

Returns

createOs()

createOs() : \OsCondition

Returns

createReferenceExists()

createReferenceExists() : \ReferenceExistsCondition

Creates the object for the child element

customChildCreator(string $elementName, \Project $project) : \Condition

Parameters

$elementName

string

$project

\Project

Exceptions

\BuildException

Returns

getConditions()

getConditions() 

Required for IteratorAggregate

getIterator() 

Returns a reference to current project

getProject() : \Project
Inherited
inherited_from \ProjectComponent::getProject()

Returns

\ProjectReference to current porject object

Logs a message with the given priority.

log(string $msg, integer $level) 
Inherited
inherited_from \ProjectComponent::log()

Parameters

$msg

string

The message to be logged.

$level

integer

The message's priority at this message should have

References the project to the current component.

setProject(\Project $project) 
Inherited
inherited_from \ProjectComponent::setProject()

Parameters

$project

\Project

The reference to the current project

 Properties

 

$conditions 
 

$project : \Project
Inherited
inherited_from \ProjectComponent::$$project