use OCP\BackgroundJob\IJobList;
use OCP\ILogger;
+/**
+ * @deprecated internal class, use \OCP\BackgroundJob\Job
+ */
abstract class Job implements IJob {
/** @var int */
protected $id;
*/
namespace OC\BackgroundJob\Legacy;
+/**
+ * @deprecated internal class, use \OCP\BackgroundJob\QueuedJob
+ */
class QueuedJob extends \OC\BackgroundJob\QueuedJob {
public function run($argument) {
$class = $argument['klass'];
use OCP\AutoloadNotAllowedException;
+/**
+ * @deprecated internal class, use \OCP\BackgroundJob\QueuedJob
+ */
class RegularJob extends \OC\BackgroundJob\Job {
public function run($argument) {
try {
* create a background job that is to be executed once
*
* @package OC\BackgroundJob
+ *
+ * @deprecated internal class, use \OCP\BackgroundJob\QueuedJob
*/
abstract class QueuedJob extends Job {
/**
* create a background job that is to be executed at an interval
*
* @package OC\BackgroundJob
+ *
+ * @deprecated internal class, use \OCP\BackgroundJob\TimedJob
*/
abstract class TimedJob extends Job {
protected $interval = 0;