The Target component. Carries all required target data. Implements the abstract class {@link TaskContainer}
author |
Andreas Aderhold andi@binarycloud.com |
---|---|
copyright |
2001,2002 THYRELL. All rights reserved |
version |
$Id: fdff5ad4aee28d30831176c675a76fd0dc823658 $ |
see | |
package |
phing |
addDataType(\RuntimeConfigurable $rtc)
addDependency(string $dependency)
string
The dependency target to add
addTask(\Task $task)
getDependencies() : array
array
Reference to target dependencoes
getDescription() : string
string
The description text of this target
getHidden() : boolean
boolean
getLogSkipped() : boolean|null
boolean|null
getName() : string
string
The name of the target
getProject() : \Project
getTasks() : array
The task objects are copied here. Don't use this method to modify task objects.
array
Task[]
isHidden() : boolean
boolean
main()
performTasks()
This method is for ZE2 and used for proper exception handling of task exceptions.
setDepends(string $depends)
throws | |
---|---|
string
Comma separated list of targetnames that depend on this target
setDescription(string $description)
string
The description text
setHidden(boolean $flag) : \Target
setIf(string $property)
string
The property name that has to be present
setLogSkipped( $log)
setName(string $name)
string
Name of this target
setProject(\Project $project)
setUnless(string $property)
string
The property name that has to be present
testIfCondition() : boolean
boolean
true
if the property specified
in $this->ifCondition
exists;
false
otherwise
testUnlessCondition() : boolean
boolean
true
if the property specified
in $this->unlessCondition
exists;
false
otherwise
toString() : string
string
The string representation of this target
name : string
var |
---|
string
dependencies : array
var |
---|
array
children : array
var |
---|
array
ifCondition : string
var |
---|
string
unlessCondition : string
var |
---|
string
description : string
var |
---|
string
hidden : boolean
var |
---|
boolean
logSkipped : boolean
var |
---|
boolean