Copy files to and from a remote host using scp.
Use \Project#createTask to register a new Task.
author |
Michiel Rook mrook@php.net |
---|---|
author |
Johan Van den Brande johan@vandenbrande.com |
version |
$Id: f82b1a87539b6db5cf8ff37eed5d238830343590 $ |
package |
phing.tasks.ext |
addFileSet(\FileSet $fs) : void
copyFile( $local, $remote)
createSshconfig() : \Ssh2MethodParam
getAutocreate()
getDescription() : string
string
The text description of the task
getFetch()
getFile()
getHeuristicDecision() : integer
integer
getHost()
getLocation() : \Location
getMode()
getOwningTarget() : \Target
getPassword()
getPort()
getPrivkeyfile()
getPrivkeyfilepassphrase( $privkeyfilepassphrase)
getProject() : \Project
getPubkeyfile()
getRegisterSlot(string $slotName)
string
getRuntimeConfigurableWrapper() : \RuntimeConfigurable
getTaskName() : string
string
Name of this task
getTaskType() : string
string
The type of this task (XML Tag)
getTodir()
getUsername()
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()
setAutocreate( $autocreate)
setDescription(string $desc)
string
The text describing the task
setFetch( $fetch)
setFile( $file)
setHeuristicDecision(integer $heuristicDecision)
integer
Number
setHost( $h)
setLevel(string $level)
string
setLocation(\Location $location)
setMode( $value)
setOwningTarget(\Target $target)
setPassword( $password)
setPort( $p)
setPrivkeyfile( $privkeyfile)
setPrivkeyfilepassphrase( $privkeyfilepassphrase)
setProject(\Project $project)
setPubkeyfile( $pubkeyfile)
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
setTaskName(string $name) : string
string
string
A string representing the name of this task for log
setTaskType( $name)
setTodir( $todir)
setUsername( $username)
file :
filesets :
todir :
mode :
host :
port :
methods :
username :
password :
autocreate :
fetch :
localEndpoint :
remoteEndpoint :
pubkeyfile :
privkeyfile :
privkeyfilepassphrase :
connection :
sftp :
counter :
logLevel :
heuristicDecision : integer
var |
---|
integer
heuristicScpSftp : integer
var |
---|
integer
description : string
var |
---|
string
taskType : string
var |
---|
string
taskName : string
var |
---|
string
project : \Project