tasks/ext/git/GitBranchTask.php

Show: inherited
Table of Contents

\GitBranchTask

Package: phing\tasks\ext\git

Wrapper aroung git-branch

Parent(s)
\GitBaseTask < \Task < \ProjectComponent
See
\VersionControl_Git  
Author
Victor Farazdagi  
Since
2.4.3  
Version
$Id: GitBranchTask.php 1051 2011-03-02 19:40:51Z victor $  

Properties

Propertyprivatestring  $branchname= ''

Branch name

Details
Type
string
Propertyprivatearray  $extraOptions= 'array( 'd' => false'

-d, -D, -m, -M options to git-branch Respective task options: delete, forceDelete, move, forceMove

Default valuearray( 'd' => falseDetails
Type
array
Propertyprivateboolean  $force= 'false'

--force, -f key to git-branch

Default valuefalseDetails
Type
boolean
Propertyprivatestring  $newbranch= ''

New Branch name for git-branch -m | -M

Details
Type
string
Propertyprivateboolean  $noTrack= 'false'

--no-track key to git-branch

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $setUpstream= 'false'

--set-upstream key to git-branch

Default valuefalseDetails
Type
boolean
Propertyprivatestring  $startPoint= ''

If not HEAD, specify starting point

Details
Type
string
Propertyprivateboolean  $track= 'false'

--track key to git-branch

Default valuefalseDetails
Type
boolean

Methods

methodpublicgetBranchname( ) : void

methodpublicgetDelete( ) : void

methodpublicgetDescription( ) : void

methodpublicgetForce( ) : void

methodpublicgetForceDelete( ) : void

methodpublicgetForceMove( ) : void

methodprotectedgetGitClient( ) : void

methodpublicgetGitPath( ) : void

methodpublicgetLocation( ) : void

methodpublicgetMove( ) : void

methodpublicgetNewBranch( ) : void

methodpublicgetNoTrack( ) : void

methodpublicgetOwningTarget( ) : void

methodpublicgetProject( ) : void

methodprotectedgetRegisterSlot( ) : void

methodpublicgetRepository( ) : void

methodpublicgetRuntimeConfigurableWrapper( ) : void

methodpublicgetSetUpstream( ) : void

methodpublicgetStartPoint( ) : void

methodpublicgetTaskName( ) : void

methodpublicgetTaskType( ) : void

methodpublicgetTrack( ) : void

methodpublicinit( ) : void

methodpublicisDelete( ) : void

methodpublicisForce( ) : void

methodpublicisForceMove( ) : void

methodpublicisMove( ) : void

methodpublicisNoTrack( ) : void

methodpublicisSetUpstream( ) : void

methodpublicisTrack( ) : void

methodpubliclog( ) : void

methodpublicmain( ) : void

The main entry point for the task

methodpublicmaybeConfigure( ) : void

methodpublicperform( ) : void

methodpublicsetBranchname(  $branchname ) : void

Parameters
Name Type Description
$branchname
methodpublicsetDelete(  $flag ) : void

Parameters
Name Type Description
$flag
methodpublicsetDescription( ) : void

methodpublicsetForce(  $flag ) : void

Parameters
Name Type Description
$flag
methodpublicsetForceDelete(  $flag ) : void

Parameters
Name Type Description
$flag
methodpublicsetForceMove(  $flag ) : void

Parameters
Name Type Description
$flag
methodpublicsetGitPath( ) : void

methodpublicsetLocation( ) : void

methodpublicsetMove(  $flag ) : void

Parameters
Name Type Description
$flag
methodpublicsetNewBranch(  $name ) : void

Parameters
Name Type Description
$name
methodpublicsetNoTrack(  $flag ) : void

Parameters
Name Type Description
$flag
methodpublicsetOwningTarget( ) : void

methodpublicsetProject( ) : void

methodpublicsetRepository( ) : void

methodpublicsetRuntimeConfigurableWrapper( ) : void

methodpublicsetSetUpstream(  $flag ) : void

Parameters
Name Type Description
$flag
methodpublicsetStartPoint(  $startPoint ) : void

Parameters
Name Type Description
$startPoint
methodpublicsetTaskName( ) : void

methodpublicsetTaskType( ) : void

methodpublicsetTrack(  $flag ) : void

Parameters
Name Type Description
$flag
Documentation was generated by DocBlox 0.17.1.