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: b6779ff7860ec7a7a84d74a40ffcc9efa75255f7 $ |
access |
public |
see | |
package |
phing |
addDataType(\RuntimeConfigurable $rtc)
addDependency(string $dependency)
access |
public |
---|---|
string
The dependency target to add
addTask(\Task $task)
@param object The task to be added to the container
access |
public |
---|---|
getDependencies() : array
array
Referece to target dependencoes
getDescription() : string
string
The description text of this target
getHidden() : boolean
boolean
getName() : string
access |
public |
---|---|
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)
access |
public |
---|---|
string
The property name that has to be present
setName(string $name)
string
Name of this target
setProject(\Project $project)
setUnless(string $property)
access |
public |
---|---|
string
The property name that has to be present
testIfCondition() : boolean
boolean
true
if the property specified
in <code>$this->ifCondition</code> exists;
<code>false</code> otherwise
testUnlessCondition() : boolean
boolean
true
if the property specified
in <code>$this->unlessCondition</code> exists;
<code>false</code> 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