Wrapper aroung git-pull
Use {@link Project#createTask} to register a new Task.
author |
Victor Farazdagi simple.square@gmail.com |
---|---|
version |
$Id: b87593e0f31239277d8aee7440f0dfb7c5b89d30 $ |
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.
setStrategy($strategy)
getStrategy()
setStrategyOption($strategyOption)
getStrategyOption()
setSource($source)
getSource()
setRefspec($spec)
getRefspec()
setAll($flag)
getAll()
isAllRemotes()
setAppend($flag)
getAppend()
isAppend()
setKeep($flag)
getKeep()
isKeepFiles()
setNoTags($flag)
getNoTags()
isNoTags()
setTags($flag)
getTags()
isTags()
setQuiet($flag)
getQuiet()
isQuiet()
setRebase($flag)
getRebase()
isRebase()
setNoRebase($flag)
getNoRebase()
isNoRebase()
setForce($flag)
getForce()
isForce()
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
source : string
var |
---|
string
refspec : string
var |
---|
string
rebase : boolean
var |
---|
boolean
noRebase : boolean
var |
---|
boolean
strategy : string
var |
---|
string
strategyOption : string
var |
---|
string
allRemotes : boolean
var |
---|
boolean
append : boolean
var |
---|
boolean
keepFiles : boolean
var |
---|
boolean
noTags : boolean
var |
---|
boolean
quiet : boolean
var |
---|
boolean
force : boolean
var |
---|
boolean
validStrategies : array
var |
---|
array
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