tasks/ext/git/GitBaseTask.php

Show: inherited
Table of Contents

\GitBaseTask

Package: phing\tasks\ext\git

Base class for Git tasks

Parent(s)
\Task < \ProjectComponent
Children
\GitTagTask
\GitFetchTask
\GitCheckoutTask
\GitGcTask
\GitBranchTask
\GitMergeTask
\GitPushTask
\GitInitTask
\GitCloneTask
\GitPullTask
\GitLogTask
See
\VersionControl_Git  
Author
Victor Farazdagi  
Since
2.4.3  
Version
$Id: GitBaseTask.php 1122 2011-05-31 13:35:28Z mrook $  

Properties

Propertyprivate\VersionControl_Git  $gitClient= 'null'

Default valuenullDetails
Type
\VersionControl_Git
Propertyprivatestring  $gitPath= ''/usr/bin/git''

Bath to git binary

Default value'/usr/bin/git'Details
Type
string
Propertyprivatestring  $repository= ''

Current repository directory

Details
Type
string

Methods

methodpublicgetDescription( ) : void

methodprotectedgetGitClient(  $reset = false,  $repository = null ) : void

Parameters
Name Type Description
$reset
$repository
methodpublicgetGitPath( ) : string

Get path to git executable

Returns
Type Description
string
methodpublicgetLocation( ) : void

methodpublicgetOwningTarget( ) : void

methodpublicgetProject( ) : void

methodprotectedgetRegisterSlot( ) : void

methodpublicgetRepository( ) : string

Get repository directory

Returns
Type Description
string
methodpublicgetRuntimeConfigurableWrapper( ) : void

methodpublicgetTaskName( ) : void

methodpublicgetTaskType( ) : void

methodpublicinit( ) : void

Initialize Task.

Check and include necessary libraries.

methodpubliclog( ) : void

methodpublicmain( ) : void
abstract

methodpublicmaybeConfigure( ) : void

methodpublicperform( ) : void

methodpublicsetDescription( ) : void

methodpublicsetGitPath( string $gitPath ) : \GitBaseTask

Set path to git executable

Parameters
Name Type Description
$gitPath string

New path to git repository

Returns
Type Description
\GitBaseTask
methodpublicsetLocation( ) : void

methodpublicsetOwningTarget( ) : void

methodpublicsetProject( ) : void

methodpublicsetRepository( string $repository ) : \GitBaseTask

Set repository directory

Parameters
Name Type Description
$repository string

Repo directory

Returns
Type Description
\GitBaseTask
methodpublicsetRuntimeConfigurableWrapper( ) : void

methodpublicsetTaskName( ) : void

methodpublicsetTaskType( ) : void

Documentation was generated by DocBlox 0.17.1.