Xinc-Plugin-Task
[ class tree: Xinc-Plugin-Task ] [ index: Xinc-Plugin-Task ] [ all elements ]

Class: Xinc_Plugin_Task_Interface

Source Location: /Xinc/Plugin/Task/Interface.php

Interface Overview




Methods



Class Details

[line 33]


[ Top ]


Class Methods


constructor __construct [line 38]

Xinc_Plugin_Task_Interface __construct( Xinc_Plugin_Interface $plugin)

Constructor



Tags:

access:  public


Parameters:

Xinc_Plugin_Interface   $plugin  

[ Top ]

method getName [line 63]

string getName( )

Returns name of task.



Tags:

return:  Name of task.
access:  public


[ Top ]

method getPluginSlot [line 71]

integer getPluginSlot( )

Returns the slot of this task inside a build.



Tags:

return:  The slot number.
see:  Xinc/Plugin/Slot.php for available slots
access:  public


[ Top ]

method getTasks [line 72]

void getTasks( )



Tags:

access:  public


[ Top ]

method getXml [line 73]

void getXml( )



Tags:

access:  public


[ Top ]

method init [line 39]

void init( Xinc_Build_Interface $build)



Tags:

access:  public


Parameters:

Xinc_Build_Interface   $build  

[ Top ]

method process [line 40]

void process( Xinc_Build_Interface $build)



Tags:

access:  public


Parameters:

Xinc_Build_Interface   $build  

[ Top ]

method registerTask [line 49]

void registerTask( Xinc_Plugin_Task_Interface $task)

Support for subtasks, empty by default.



Tags:

access:  public


Parameters:

Xinc_Plugin_Task_Interface   $task   Task to register

[ Top ]

method setXml [line 74]

void setXml( SimpleXMLElement $element)



Tags:

access:  public


Parameters:

SimpleXMLElement   $element  

[ Top ]

method validate [line 56]

boolean validate( )

Validates if a task can run by checking configs, directries and so on.



Tags:

return:  Is true if task can run.
access:  public


[ Top ]


Documentation generated on Sun, 09 Dec 2012 21:49:27 +0100 by phpDocumentor 1.4.4