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: 8a84a6b7002c4f0d3d4c362840719a9a6a84edcd $ |
access |
public |
see | |
package |
phing |
setProject(\Project $project)
getProject() : \Project
setDepends(string $depends)
throws |
---|
string
Comma separated list of targetnames that depend on this target
addDependency(string $dependency)
access |
public |
---|
string
The dependency target to add
getDependencies() : array
array
Referece to target dependencoes
setName(string $name)
string
Name of this target
getName() : string
access |
public |
---|
string
The name of the target
setHidden(boolean $flag) : \Target
getHidden() : boolean
boolean
isHidden() : boolean
boolean
addTask(\Task $task)
addDataType(\RuntimeConfigurable $rtc)
getTasks() : array
The task objects are copied here. Don't use this method to modify task objects.
array
Task[]
setIf(string $property)
access |
public |
---|
string
The property name that has to be present
setUnless(string $property)
access |
public |
---|
string
The property name that has to be present
setDescription(string $description)
string
The description text
getDescription() : string
string
The description text of this target
toString() : string
string
The string representation of this target
main()
performTasks()
This method is for ZE2 and used for proper exception handling of task exceptions.
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
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