Stores the number of the last revision of a workingcopy in a property
Use \Project#createTask to register a new Task.
author |
Michiel Rook mrook@php.net |
---|---|
version |
$Id: d988d44e126710106d2db9f9ee40b34d52ca127b $ |
package |
phing.tasks.ext.svn |
see | |
since | 2.1.0 |
getDepth()
getDescription() : string
string
The text description of the task
getForce()
getIgnoreExternals()
getLocation() : \Location
getNoCache()
getOwningTarget() : \Target
getPassword()
getProject() : \Project
getPropertyName()
getRecursive()
deprecated | |
---|---|
getRegisterSlot(string $slotName)
string
getRepositoryUrl()
getRuntimeConfigurableWrapper() : \RuntimeConfigurable
getSvnPath()
getTaskName() : string
string
Name of this task
getTaskType() : string
string
The type of this task (XML Tag)
getToDir()
getTrustServerCert()
getUsername()
getWorkingCopy()
init()
Should throw a BuildException if something goes wrong with the build
This is abstract here, but may not be overloaded by subclasses.
throws | |
---|---|
log(string $msg, integer $level = \Project::MSG_INFO)
string
The message to be logged.
integer
The message's priority at this message should have
main()
Should throw a BuildException if someting goes wrong with the build
This is abstract here. Must be overloaded by real tasks.
maybeConfigure()
perform()
run( $args = array(), $switches = array()) : string
string
Output generated by SVN.
setDepth( $value)
setDescription(string $desc)
string
The text describing the task
setForce( $value)
setForceCompatible( $force)
Retained for legacy reasons
deprecated | |
---|---|
setIgnoreExternals( $value)
setLastChanged( $lastChanged)
setLocation(\Location $location)
setNoCache( $value)
setOwningTarget(\Target $target)
setPassword( $value)
setProject(\Project $project)
setPropertyName( $propertyName)
setRecursive( $value)
deprecated | |
---|---|
setRepositoryUrl( $repositoryUrl)
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
setSvnPath( $svnPath)
setTaskName(string $name) : string
string
string
A string representing the name of this task for log
setTaskType( $name)
setToDir( $toDir)
setTrustServerCert( $value)
setup( $mode)
throws | |
---|---|
setUsername( $value)
setWorkingCopy( $workingCopy)
propertyName :
lastChanged :
workingCopy :
repositoryUrl :
svnPath :
svn :
mode :
svnArgs :
svnSwitches :
toDir :
fetchMode :
oldVersion :
description : string
var |
---|
string
taskType : string
var |
---|
string
taskName : string
var |
---|
string
project : \Project