Abstract Service_Amazon class.
Implements common methods & properties used by all Amazon services
extends |
Task |
---|---|
version |
$ID$ |
package |
phing.tasks.ext |
author |
Andrei Serdeliuc andrei@serdeliuc.ro |
abstract |
__get(mixed $var) : mixed
If the property hasn't been previously set (through the task call normally), it will try to load it from the project
This way, we can define global properties for the "Amazon" service, like key and secret
access |
public |
---|
mixed
mixed
__isset( $var) : boolean
boolean
__set( $var, $val)
getDescription() : string
string
The text description of the task
getKey()
getLocation() : \Location
getOwningTarget() : \Target
getProject() : \Project
getRegisterSlot(string $slotName) : \RegisterSlot
getRuntimeConfigurableWrapper() : \RuntimeConfigurable
getSecret()
getTaskName() : string
string
Name of this task
getTaskType() : string
string
The type of this task (XML Tag)
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) : void
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()
throws | |
---|---|
setDescription(string $desc)
string
The text describing the task
setKey( $key)
throws | |
---|---|
setLocation(\Location $location)
setOwningTarget(\Target $target)
setProject(\Project $project) : void
setRuntimeConfigurableWrapper(\RuntimeConfigurable $wrapper)
setSecret( $secret)
throws | |
---|---|
setTaskName(string $name) : string
string
string
A string representing the name of this task for log
setTaskType( $name)
description : string
var |
---|
string
taskType : string
var |
---|
string
taskName : string
var |
---|
string
project : \Project