tasks/system/AdhocTaskdefTask.php

Show: inherited
Table of Contents

A class for creating adhoc tasks in build file.

<![CDATA[

       class FooTest extends Task {
           private $bar;

           function setBar($bar) {
               $this->bar = $bar;
           }

           function main() {
               $this->log("In FooTest: " . $this->bar);
           }
       }

   ]]></adhoc-task>

 <foo bar="B.L.I.N.G"/>

Author
Hans Lellelid  
Package
phing.tasks.system  
Version
$Revision: 1015 $  

\AdhocTaskdefTask

Package: phing\tasks\system

A class for creating adhoc tasks in build file.

<![CDATA[

       class FooTest extends Task {
           private $bar;

           function setBar($bar) {
               $this->bar = $bar;
           }

           function main() {
               $this->log("In FooTest: " . $this->bar);
           }
       }

   ]]></adhoc-task>

 <foo bar="B.L.I.N.G"/>

Parent(s)
\AdhocTask < \Task < \ProjectComponent
Author
Hans Lellelid  
Version
$Revision: 1015 $  

Properties

Propertyprivate  $name= ''

The tag that refers to this task.

Details
Type
n/a

Methods

methodpublicaddText( ) : void

methodprotectedexecute( ) : void

methodpublicgetDescription( ) : void

methodpublicgetLocation( ) : void

methodprotectedgetNewClasses( ) : void

methodpublicgetOwningTarget( ) : void

methodpublicgetProject( ) : void

methodprotectedgetRegisterSlot( ) : void

methodpublicgetRuntimeConfigurableWrapper( ) : void

methodpublicgetTaskName( ) : void

methodpublicgetTaskType( ) : void

methodpublicinit( ) : void

methodpubliclog( ) : void

methodpublicmain( ) : void

Main entry point

methodpublicmaybeConfigure( ) : void

methodpublicperform( ) : void

methodpublicsetDescription( ) : void

methodpublicsetLocation( ) : void

methodpublicsetName( string $name ) : void

Set the tag that will represent this adhoc task/type.

Parameters
Name Type Description
$name string
methodpublicsetOwningTarget( ) : void

methodpublicsetProject( ) : void

methodpublicsetRuntimeConfigurableWrapper( ) : void

methodpublicsetTaskName( ) : void

methodpublicsetTaskType( ) : void

Documentation was generated by DocBlox 0.17.1.