"Inner" class for IfTask.

This class has same basic structure as the IfTask, although of course it doesn't support tags.

package phing.tasks.system
author Andreas Aderhold <andi@binarycloud.com> @copyright 2001,2002 THYRELL. All rights reserved @version $Id: f667c12da5ad79ccdd6f2d346f5c5bcede98b0a7 $ @package phing.tasks.system.condition
version $Id$

 Methods

addAvailable()

addAvailable(\AvailableTask $a) : void
Inherited
inherited_from \ConditionBase::addAvailable()

Parameters

$a

addThen()

addThen(\SequentialTask $t) 

Parameters

$t

countConditions()

countConditions() 
Inherited
inherited_from \ConditionBase::countConditions()

createAnd()

createAnd() : \AndCondition
Inherited
inherited_from \ConditionBase::createAnd()

Returns

createContains()

createContains() : \ContainsCondition
Inherited
inherited_from \ConditionBase::createContains()

Returns

createEquals()

createEquals() : \EqualsCondition
Inherited
inherited_from \ConditionBase::createEquals()

Returns

createIsFalse()

createIsFalse() : \IsFalseCondition
Inherited
inherited_from \ConditionBase::createIsFalse()

Returns

createIsSet()

createIsSet() : \IsSetCondition
Inherited
inherited_from \ConditionBase::createIsSet()

Returns

createIsTrue()

createIsTrue() : \IsTrueCondition
Inherited
inherited_from \ConditionBase::createIsTrue()

Returns

createNot()

createNot() : \NotCondition
Inherited
inherited_from \ConditionBase::createNot()

Returns

createOr()

createOr() : \OrCondition
Inherited
inherited_from \ConditionBase::createOr()

Returns

createOs()

createOs() : \OsCondition
Inherited
inherited_from \ConditionBase::createOs()

Returns

createReferenceExists()

createReferenceExists() : \ReferenceExistsCondition
Inherited
inherited_from \ConditionBase::createReferenceExists()

Returns

Creates the object for the child element

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

Parameters

$elementName

string

$project

\Project

Exceptions

\BuildException

Returns

evaluate()

evaluate() : boolean

Returns

boolean

getConditions()

getConditions() 
Inherited
inherited_from \ConditionBase::getConditions()

Required for IteratorAggregate

getIterator() 
Inherited
inherited_from \ConditionBase::getIterator()

Returns a reference to current project

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

Returns

\ProjectReference to current porject object

Logs a message with the given priority.

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

Parameters

$msg

string

The message to be logged.

$level

integer

The message's priority at this message should have

main()

main() 

References the project to the current component.

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

Parameters

$project

\Project

The reference to the current project

 Properties

 

$conditions 
Inherited
inherited_from \ConditionBase::$$conditions
 

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

$thenTasks