An phing version condition/task.
Use \Project#createTask to register a new Task.
author |
Siad Ardroumli siad.ardroumli@gmail.com |
---|---|
package |
phing.tasks.system |
evaluate() : true
throws |
if an error occurs. |
---|---|
true
if the condition is true.
getAtLeast() : string
string
the atleast attribute.
getDescription() : string
string
The text description of the task
getExactly() : string
string
the exactly attribute.
getLocation() : \Location
getOwningTarget() : \Target
getProject() : \Project
getProperty() : string
string
the name of the property.
getRegisterSlot(string $slotName) : \RegisterSlot
getRuntimeConfigurableWrapper() : \RuntimeConfigurable
getTaskName() : string
string
Name of this task
getTaskType() : string
string
The type of this task (XML Tag)
getVersion()
init()
Should throw a BuildException if something goes wrong with the build
This is abstract here, but may not be overloaded by subclasses.
throws | |
---|---|
log(string $msg, integer $level = \Project::MSG_INFO) : void
string
The message to be logged.
integer
The message's priority at this message should have
main()
Should throw a BuildException if someting goes wrong with the build
This is abstract here. Must be overloaded by real tasks.
maybeConfigure()
perform()
throws | |
---|---|
setAtLeast(string $atLeast)
This is of the form major.minor.point. For example 1.7.0.
string
the version to check against.
setDescription(string $desc)
string
The text describing the task
setExactly(string $exactly)
This is of the form major.minor.point. For example 1.7.0.
string
the version to check against.
setLocation(\Location $location)
setOwningTarget(\Target $target)
setProject(\Project $project) : void
setProperty(string $propertyname)
string
the name of the property.
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
setTaskName(string $name) : string
string
string
A string representing the name of this task for log
setTaskType( $name)
validate()
atLeast :
exactly :
propertyname :
description : string
var |
---|
string
taskType : string
var |
---|
string
taskName : string
var |
---|
string
project : \Project