diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-02-11 14:00:24 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-02-11 14:00:24 +0100 |
commit | a6399f9ceffcf9865b8a2be155dc4f98bd2ee5dc (patch) | |
tree | 513f0a0dac1049c21c42538e39dc4d886d3e6f3b /lib/public/backgroundjob/ijob.php | |
parent | 72f134cfce05eb089a6d8271e73d6eb95cbe94a4 (diff) | |
download | nextcloud-server-a6399f9ceffcf9865b8a2be155dc4f98bd2ee5dc.tar.gz nextcloud-server-a6399f9ceffcf9865b8a2be155dc4f98bd2ee5dc.zip |
Add the background job list to the public server container
Diffstat (limited to 'lib/public/backgroundjob/ijob.php')
-rw-r--r-- | lib/public/backgroundjob/ijob.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/public/backgroundjob/ijob.php b/lib/public/backgroundjob/ijob.php new file mode 100644 index 00000000000..c427b50401d --- /dev/null +++ b/lib/public/backgroundjob/ijob.php @@ -0,0 +1,29 @@ +<?php +/** + * Copyright (c) 2013 Robin Appelman <icewind@owncloud.com> + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + +namespace OCP\BackgroundJob; + +interface IJob { + /** + * @param \OCP\BackgroundJob\IJobList $jobList + * @param \OC\Log $logger + */ + public function execute($jobList, $logger = null); + + public function setId($id); + + public function setLastRun($lastRun); + + public function setArgument($argument); + + public function getId(); + + public function getLastRun(); + + public function getArgument(); +} |