2012-08-08 22:01:06 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2016-07-21 15:07:57 +00:00
|
|
|
* @copyright Copyright (c) 2016, ownCloud, Inc.
|
|
|
|
*
|
2015-03-26 10:44:34 +00:00
|
|
|
* @author Bart Visscher <bartv@thisnet.nl>
|
|
|
|
* @author Felix Moeller <mail@felixmoeller.de>
|
|
|
|
* @author Jakob Sack <mail@jakobsack.de>
|
|
|
|
* @author Jörn Friedrich Dreyer <jfd@butonic.de>
|
|
|
|
* @author Morris Jobke <hey@morrisjobke.de>
|
2016-07-21 16:13:36 +00:00
|
|
|
* @author Robin Appelman <robin@icewind.nl>
|
2013-04-24 12:38:41 +00:00
|
|
|
*
|
2015-03-26 10:44:34 +00:00
|
|
|
* @license AGPL-3.0
|
2013-04-24 12:38:41 +00:00
|
|
|
*
|
2015-03-26 10:44:34 +00:00
|
|
|
* This code is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
|
|
* as published by the Free Software Foundation.
|
2013-04-24 12:38:41 +00:00
|
|
|
*
|
2015-03-26 10:44:34 +00:00
|
|
|
* This program is distributed in the hope that it will be useful,
|
2013-04-24 12:38:41 +00:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2015-03-26 10:44:34 +00:00
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Affero General Public License for more details.
|
2013-04-24 12:38:41 +00:00
|
|
|
*
|
2015-03-26 10:44:34 +00:00
|
|
|
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
2013-04-24 12:38:41 +00:00
|
|
|
*
|
|
|
|
*/
|
2015-02-26 10:37:37 +00:00
|
|
|
|
2012-08-08 22:01:06 +00:00
|
|
|
namespace OCP;
|
|
|
|
|
|
|
|
/**
|
2015-04-16 15:00:08 +00:00
|
|
|
* @since 4.5.0
|
2018-01-25 23:14:00 +00:00
|
|
|
* @deprecated 14.0.0
|
2012-08-08 22:01:06 +00:00
|
|
|
*/
|
2012-08-09 17:04:04 +00:00
|
|
|
class BackgroundJob {
|
2012-10-27 08:15:39 +00:00
|
|
|
/**
|
2015-04-16 15:00:08 +00:00
|
|
|
* @since 5.0.0
|
2018-01-25 23:14:00 +00:00
|
|
|
* @deprecated 14.0.0
|
2012-10-27 08:15:39 +00:00
|
|
|
*/
|
|
|
|
public static function getExecutionType() {
|
2018-01-25 23:14:00 +00:00
|
|
|
return '';
|
2012-10-27 08:15:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2015-04-16 15:00:08 +00:00
|
|
|
* @since 5.0.0
|
2018-01-25 23:14:00 +00:00
|
|
|
* @deprecated 14.0.0
|
2012-10-27 08:15:39 +00:00
|
|
|
*/
|
2013-04-24 12:38:41 +00:00
|
|
|
public static function setExecutionType($type) {
|
2012-10-27 08:15:39 +00:00
|
|
|
}
|
|
|
|
|
2012-08-08 22:01:06 +00:00
|
|
|
/**
|
2015-04-16 15:00:08 +00:00
|
|
|
* @since 6.0.0
|
2018-01-25 23:14:00 +00:00
|
|
|
* @deprecated 8.1.0 Use \OC::$server->getJobList()->add() instead
|
2012-08-08 22:01:06 +00:00
|
|
|
*/
|
2013-04-24 12:38:41 +00:00
|
|
|
public static function registerJob($job, $argument = null) {
|
2012-08-08 22:01:06 +00:00
|
|
|
}
|
2013-04-24 12:38:41 +00:00
|
|
|
}
|