Wrapper around git-checkout
Use {@link Project#createTask} to register a new Task.
| author |
Victor Farazdagi simple.square@gmail.com |
|---|---|
| version |
$Id: e53afe6034fcf9626effd77d6a2b84fed0c41c7e $ |
| 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.
setBranchname($branchname)
getBranchname()
setStartPoint($startPoint)
getStartPoint()
setForce($flag)
getForce()
isForce()
setQuiet($flag)
getQuiet()
isQuiet()
setTrack($flag)
getTrack()
isTrack()
setNoTrack($flag)
getNoTrack()
isNoTrack()
setCreate($flag)
getCreate()
isCreate()
setForceCreate($flag)
getForceCreate()
isForceCreate()
setMerge($flag)
getMerge()
isMerge()
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
stringName of this task
setTaskName(string $name) : string
string
stringA string representing the name of this task for log
getTaskType() : string
stringThe type of this task (XML Tag)
setTaskType($name)
getRegisterSlot(string $slotName)
string
log(string $msg, integer $level = \Project::MSG_INFO)
stringThe message to be logged.
integerThe message's priority at this message should have
setDescription(string $desc)
stringThe text describing the task
getDescription() : string
stringThe text description of the task
getLocation() : \Location
setLocation(\Location $location)
getRuntimeConfigurableWrapper() : \RuntimeConfigurable
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
maybeConfigure()
perform()
setProject(\Project $project)
getProject() : \Project
branchname : string
| var |
|---|
string
startPoint : string
| var |
|---|
string
force : boolean
| var |
|---|
boolean
quiet : boolean
| var |
|---|
boolean
track : boolean
--track key to git-checkout
| var |
|---|
boolean
noTrack : boolean
| var |
|---|
boolean
extraOptions : 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