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 |
|---|
stringComma separated list of targetnames that depend on this target
addDependency(string $dependency)
| access |
public |
|---|
stringThe dependency target to add
getDependencies() : array
arrayReferece to target dependencoes
setName(string $name)
stringName of this target
getName() : string
| access |
public |
|---|
stringThe 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.
arrayTask[]
setIf(string $property)
| access |
public |
|---|
stringThe property name that has to be present
setUnless(string $property)
| access |
public |
|---|
stringThe property name that has to be present
setDescription(string $description)
stringThe description text
getDescription() : string
stringThe description text of this target
toString() : string
stringThe string representation of this target
main()
performTasks()
This method is for ZE2 and used for proper exception handling of task exceptions.
testIfCondition() : boolean
booleantrue if the property specified
in $this->ifCondition exists;
false otherwise
testUnlessCondition() : boolean
booleantrue 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