Wrapper aroung git-fetch
Use \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 |
getAll()
getDescription() : string
string
The text description of the task
getForce()
getGitClient( $reset = false, $repository = null)
getGitPath() : string
string
getGroup()
getKeep()
getLocation() : \Location
getNoTags()
getOwningTarget() : \Target
getProject() : \Project
getPrune()
getQuiet()
getRefspec()
getRegisterSlot(string $slotName)
string
getRepository() : string
string
getRuntimeConfigurableWrapper() : \RuntimeConfigurable
getSource()
getTags()
getTaskName() : string
string
Name of this task
getTaskType() : string
string
The type of this task (XML Tag)
init()
Should throw a BuildException if something goes wrong with the build
This is abstract here, but may not be overloaded by subclasses.
throws | |
---|---|
isAllRemotes()
isForce()
isKeepFiles()
isNoTags()
isPrune()
isQuiet()
isTags()
log(string $msg, integer $level = \Project::MSG_INFO)
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()
setAll( $flag)
setDescription(string $desc)
string
The text describing the task
setForce( $flag)
setGitPath(string $gitPath) : \GitBaseTask
setGroup( $group)
setKeep( $flag)
setLocation(\Location $location)
setNoTags( $flag)
setOwningTarget(\Target $target)
setProject(\Project $project)
setPrune( $flag)
setQuiet( $flag)
setRefspec( $spec)
setRepository(string $repository) : \GitBaseTask
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
setSource( $source)
setTags( $flag)
setTaskName(string $name) : string
string
string
A string representing the name of this task for log
setTaskType( $name)
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