# tasks/ext/svn/SvnSwitchTask.php

$Id: SvnSwitchTask.php 889 2010-09-27 05:46:46Z victor $

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

This software consists of voluntary contributions made by many individuals and is licensed under the LGPL. For more information please see http://phing.info.

## \SvnSwitchTask
jump to top

Package: phing\tasks\ext\svn

Switches a repository at a given local directory to a different location

Parent(s)
  \SvnBaseTask < \Task < \ProjectComponent
Author
  Dom Udall
Since
  2.4.3
Version
  $Id: SvnSwitchTask.php 889 2010-09-27 05:46:46Z victor $

### Properties

`string $revision= ''HEAD''`

Which Revision to Export

Default value`'HEAD'`Details

Type
  string
Todo
  check if version_control_svn supports constants

### Methods

`getDescription( ) : void`

`getForce( ) : void`

`getIgnoreExternals( ) : void`

`getLocation( ) : void`

`getNoCache( ) : void`

`getOwningTarget( ) : void`

`getPassword( ) : void`

`getProject( ) : void`

`getRecursive( ) : void`

`getRegisterSlot( ) : void`

`getRepositoryUrl( ) : void`

`getRevision( ) : void`

`getRuntimeConfigurableWrapper( ) : void`

`getSvnPath( ) : void`

`getTaskName( ) : void`

`getTaskType( ) : void`

`getToDir( ) : void`

`getTrustServerCert( ) : void`

`getUsername( ) : void`

`getWorkingCopy( ) : void`

`init( ) : void`

`log( ) : void`

`main( ) : void`

The main entry point

Throws

Exception | Description
--- | ---
\BuildException |

`maybeConfigure( ) : void`

`perform( ) : void`

`run( ) : void`

`setDescription( ) : void`

`setForce( ) : void`

`setIgnoreExternals( ) : void`

`setLocation( ) : void`

`setNoCache( ) : void`

`setOwningTarget( ) : void`

`setPassword( ) : void`

`setProject( ) : void`

`setRecursive( ) : void`

`setRepositoryUrl( ) : void`

`setRevision( $revision ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$revision |  |

`setRuntimeConfigurableWrapper( ) : void`

`setSvnPath( ) : void`

`setTaskName( ) : void`

`setTaskType( ) : void`

`setToDir( ) : void`

`setTrustServerCert( ) : void`

`setUsername( ) : void`

`setWorkingCopy( ) : void`

`setup( ) : void`

Documentation was generated by DocBlox 0.17.1.