tasks/ext/git/GitCheckoutTask.php

Show: inherited
Table of Contents

\GitCheckoutTask

Package: phing\tasks\ext\git

Wrapper around git-checkout

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

Properties

Propertyprivatestring  $branchname= ''

Branch name

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

-b, -B, -m options to git-checkout Respective task options: create, forceCreate, merge

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

--force, -f key to git-checkout

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $noTrack= 'false'

Do not set up "upstream" configuration --no-track key to git-checkout

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $quiet= 'false'

--quiet, -q key to git-checkout

Default valuefalseDetails
Type
boolean
Propertyprivatestring  $startPoint= ''

If not HEAD, specify starting point

Details
Type
string
Propertyprivateboolean  $track= 'false'

When creating a new branch, set up "upstream" configuration.

--track key to git-checkout

Default valuefalseDetails
Type
boolean

Methods

methodpublicgetBranchname( ) : void

methodpublicgetCreate( ) : void

methodpublicgetDescription( ) : void

methodpublicgetForce( ) : void

methodpublicgetForceCreate( ) : void

methodprotectedgetGitClient( ) : void

methodpublicgetGitPath( ) : void

methodpublicgetLocation( ) : void

methodpublicgetMerge( ) : void

methodpublicgetNoTrack( ) : void

methodpublicgetOwningTarget( ) : void

methodpublicgetProject( ) : void

methodpublicgetQuiet( ) : void

methodprotectedgetRegisterSlot( ) : void

methodpublicgetRepository( ) : void

methodpublicgetRuntimeConfigurableWrapper( ) : void

methodpublicgetStartPoint( ) : void

methodpublicgetTaskName( ) : void

methodpublicgetTaskType( ) : void

methodpublicgetTrack( ) : void

methodpublicinit( ) : void

methodpublicisCreate( ) : void

methodpublicisForce( ) : void

methodpublicisForceCreate( ) : void

methodpublicisMerge( ) : void

methodpublicisNoTrack( ) : void

methodpublicisQuiet( ) : 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
methodpublicsetCreate(  $flag ) : void

Parameters
Name Type Description
$flag
methodpublicsetDescription( ) : void

methodpublicsetForce(  $flag ) : void

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

Parameters
Name Type Description
$flag
methodpublicsetGitPath( ) : void

methodpublicsetLocation( ) : void

methodpublicsetMerge(  $flag ) : void

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

Parameters
Name Type Description
$flag
methodpublicsetOwningTarget( ) : void

methodpublicsetProject( ) : void

methodpublicsetQuiet(  $flag ) : void

Parameters
Name Type Description
$flag
methodpublicsetRepository( ) : void

methodpublicsetRuntimeConfigurableWrapper( ) : void

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.