tasks/ext/git/GitInitTask.php

Show: inherited
Table of Contents

\GitInitTask

Package: phing\tasks\ext\git

Repository initialization task

Parent(s)
\GitBaseTask < \Task < \ProjectComponent
See
\VersionControl_Git  
Author
Victor Farazdagi  
Since
2.4.3  
Version
$Id: GitInitTask.php 847 2010-09-03 23:43:33Z victor $  

Properties

Propertyprivate\VersionControl_Git  $gitClient= 'null'
inherited

Inherited from: \GitBaseTask::$$gitClient
Default valuenullDetails
Type
\VersionControl_Git
Inherited_from
\GitBaseTask::$$gitClient  
Propertyprivatestring  $gitPath= ''/usr/bin/git''
inherited

Bath to git binary

Inherited from: \GitBaseTask::$$gitPath
Default value'/usr/bin/git'Details
Type
string
Inherited_from
\GitBaseTask::$$gitPath  
Propertyprivatestring  $isBare= 'false'

Whether --bare key should be set for git-init

Default valuefalseDetails
Type
string
Propertyprivatestring  $repository= ''
inherited

Current repository directory

Inherited from: \GitBaseTask::$$repository
Details
Type
string
Inherited_from
\GitBaseTask::$$repository  

Methods

methodpublicgetBare( ) : void

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

Inherited from: \GitBaseTask::getGitClient()
Parameters
Name Type Description
$reset
$repository
methodpublicgetGitPath( ) : string
inherited

Get path to git executable

Inherited from: \GitBaseTask::getGitPath()
Returns
Type Description
string
methodpublicgetLocation( ) : void
methodpublicgetOwningTarget( ) : void
methodpublicgetProject( ) : void
methodprotectedgetRegisterSlot( ) : void
methodpublicgetRepository( ) : string
inherited

Get repository directory

Inherited from: \GitBaseTask::getRepository()
Returns
Type Description
string
methodpublicgetRuntimeConfigurableWrapper( ) : void
methodpublicgetTaskName( ) : void
methodpublicgetTaskType( ) : void
methodpublicinit( ) : void
inherited

Initialize Task.

Inherited from: \GitBaseTask::init()

Check and include necessary libraries.

methodpublicisBare( ) : string

Alias @see getBare()

Returns
Type Description
string
methodpubliclog( ) : void
inherited

Inherited from: Task::log()\GitBaseTask::log()
methodpublicmain( ) : void

The main entry point for the task

methodpublicmaybeConfigure( ) : void
methodpublicperform( ) : void
inherited

Inherited from: Task::perform()\GitBaseTask::perform()
methodpublicsetBare(  $flag ) : void

Parameters
Name Type Description
$flag
methodpublicsetDescription( ) : void
methodpublicsetGitPath( string $gitPath ) : \GitBaseTask
inherited

Set path to git executable

Inherited from: \GitBaseTask::setGitPath()
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
inherited

Set repository directory

Inherited from: \GitBaseTask::setRepository()
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.