Wrapper aroung git-fetch
Use {@link Project#createTask} to register a new Task.
author |
Victor Farazdagi simple.square@gmail.com |
---|---|
version |
$Id: 5f4c185c70d50c008c55f9b72cee91305bdcf596 $ |
package |
phing.tasks.ext.git |
see | |
since | 2.4.3 |
main()
Should throw a BuildException if someting goes wrong with the build
This is abstract here. Must be overloaded by real tasks.
setForce($flag)
getForce()
isForce()
setQuiet($flag)
getQuiet()
isQuiet()
setAll($flag)
getAll()
isAllRemotes()
setKeep($flag)
getKeep()
isKeepFiles()
setPrune($flag)
getPrune()
isPrune()
setNoTags($flag)
getNoTags()
isNoTags()
setTags($flag)
getTags()
isTags()
setSource($source)
getSource()
setRefspec($spec)
getRefspec()
setGroup($group)
getGroup()
init()
Should throw a BuildException if something goes wrong with the build
This is abstract here, but may not be overloaded by subclasses.
throws |
---|
setRepository(string $repository) : \GitBaseTask
getRepository() : string
string
setGitPath(string $gitPath) : \GitBaseTask
getGitPath() : string
string
getGitClient($reset = false, $repository = null)
setOwningTarget(\Target $target)
getOwningTarget() : \Target
getTaskName() : string
string
Name of this task
setTaskName(string $name) : string
string
string
A string representing the name of this task for log
getTaskType() : string
string
The type of this task (XML Tag)
setTaskType($name)
getRegisterSlot(string $slotName)
string
log(string $msg, integer $level = \Project::MSG_INFO)
string
The message to be logged.
integer
The message's priority at this message should have
setDescription(string $desc)
string
The text describing the task
getDescription() : string
string
The text description of the task
getLocation() : \Location
setLocation(\Location $location)
getRuntimeConfigurableWrapper() : \RuntimeConfigurable
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
maybeConfigure()
perform()
setProject(\Project $project)
getProject() : \Project
force : boolean
var |
---|
boolean
quiet : boolean
var |
---|
boolean
allRemotes : boolean
var |
---|
boolean
keepFiles : boolean
var |
---|
boolean
prune : boolean
--prune key to git fetch
var |
---|
boolean
noTags : boolean
var |
---|
boolean
group : string
var |
---|
string
source : string
var |
---|
string
refspec : string
var |
---|
string
gitPath : string
var |
---|
string
gitClient : \VersionControl_Git
var |
---|
\VersionControl_Git
repository : string
var |
---|
string
description : string
var |
---|
string
taskType : string
var |
---|
string
taskName : string
var |
---|
string
project : \Project