Integration/Wrapper for hg clone
Use \Project#createTask to register a new Task.
category |
Tasks |
---|---|
package |
phing.tasks.ext.hg |
author |
Ken Guest kguest@php.net |
license |
LGPL (see http://www.gnu.org/licenses/lgpl.html) |
link |
HgCloneTask.php |
checkRepositoryIsDirAndExists(string $dir) : boolean
throws |
---|
string
Repository directory
boolean
getDescription() : string
string
The text description of the task
getFactoryInstance( $command, $options = array())
getInsecure() : string
string
getLocation() : \Location
getOwningTarget() : \Target
getProject() : \Project
getQuiet() : boolean
boolean
getRegisterSlot(string $slotName) : \RegisterSlot
getRepository() : string
string
getRuntimeConfigurableWrapper() : \RuntimeConfigurable
getTargetPath() : string
string
getTaskName() : string
string
Name of this task
getTaskType() : string
string
The type of this task (XML Tag)
getUser() : string
string
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 | |
---|---|
setDescription(string $desc)
string
The text describing the task
setInsecure(string $insecure) : void
string
'yes', etc.
setLocation(\Location $location)
setOwningTarget(\Target $target)
setProject(\Project $project) : void
setQuiet(string $quiet) : void
string
yes|no|true|false|1|0
setRepository(string $repository) : void
string
Repository
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
setTargetPath(string $targetPath) : void
string
Path to repository used as source
setTaskName(string $name) : string
string
string
A string representing the name of this task for log
setTaskType( $name)
setUser(string $user) : void
string
username/email address.
targetPath : string
var |
---|
string
insecure : string
var |
---|
string
repository : string
var |
---|
string
quiet : boolean
.. --quiet argument.
var |
---|
boolean
user : string
var |
---|
string
factory :
description : string
var |
---|
string
taskType : string
var |
---|
string
taskName : string
var |
---|
string
project : \Project