Add Sync plugins
Add support for synchronising remote content before running the source dispatchers. First plugin adds Rsync support.
This commit is contained in:
16
source/lib/DownloadDispatcher/Sync/IPlugin.class.php
Normal file
16
source/lib/DownloadDispatcher/Sync/IPlugin.class.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
interface DownloadDispatcher_Sync_IPlugin extends DownloadDispatcher_IPlugin {
|
||||
|
||||
/**
|
||||
* Process files recognised by this plugin
|
||||
*
|
||||
*
|
||||
*/
|
||||
public function run();
|
||||
|
||||
public static function create($config, $log, $instance);
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user