summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/BackgroundJob/Job.php3
-rw-r--r--lib/private/BackgroundJob/Legacy/QueuedJob.php3
-rw-r--r--lib/private/BackgroundJob/Legacy/RegularJob.php3
-rw-r--r--lib/private/BackgroundJob/QueuedJob.php2
-rw-r--r--lib/private/BackgroundJob/TimedJob.php2
5 files changed, 13 insertions, 0 deletions
diff --git a/lib/private/BackgroundJob/Job.php b/lib/private/BackgroundJob/Job.php
index 6f85e3382ed..399ff05134e 100644
--- a/lib/private/BackgroundJob/Job.php
+++ b/lib/private/BackgroundJob/Job.php
@@ -29,6 +29,9 @@ use OCP\BackgroundJob\IJob;
use OCP\BackgroundJob\IJobList;
use OCP\ILogger;
+/**
+ * @deprecated internal class, use \OCP\BackgroundJob\Job
+ */
abstract class Job implements IJob {
/** @var int */
protected $id;
diff --git a/lib/private/BackgroundJob/Legacy/QueuedJob.php b/lib/private/BackgroundJob/Legacy/QueuedJob.php
index d68fd217fdd..fd001738d4f 100644
--- a/lib/private/BackgroundJob/Legacy/QueuedJob.php
+++ b/lib/private/BackgroundJob/Legacy/QueuedJob.php
@@ -23,6 +23,9 @@
*/
namespace OC\BackgroundJob\Legacy;
+/**
+ * @deprecated internal class, use \OCP\BackgroundJob\QueuedJob
+ */
class QueuedJob extends \OC\BackgroundJob\QueuedJob {
public function run($argument) {
$class = $argument['klass'];
diff --git a/lib/private/BackgroundJob/Legacy/RegularJob.php b/lib/private/BackgroundJob/Legacy/RegularJob.php
index e3286536c9a..0f337a35eb0 100644
--- a/lib/private/BackgroundJob/Legacy/RegularJob.php
+++ b/lib/private/BackgroundJob/Legacy/RegularJob.php
@@ -24,6 +24,9 @@ namespace OC\BackgroundJob\Legacy;
use OCP\AutoloadNotAllowedException;
+/**
+ * @deprecated internal class, use \OCP\BackgroundJob\QueuedJob
+ */
class RegularJob extends \OC\BackgroundJob\Job {
public function run($argument) {
try {
diff --git a/lib/private/BackgroundJob/QueuedJob.php b/lib/private/BackgroundJob/QueuedJob.php
index 176227e73db..28d86481e62 100644
--- a/lib/private/BackgroundJob/QueuedJob.php
+++ b/lib/private/BackgroundJob/QueuedJob.php
@@ -32,6 +32,8 @@ use OCP\ILogger;
* 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 {
/**
diff --git a/lib/private/BackgroundJob/TimedJob.php b/lib/private/BackgroundJob/TimedJob.php
index 62b9bab7ccc..0f0951e1aec 100644
--- a/lib/private/BackgroundJob/TimedJob.php
+++ b/lib/private/BackgroundJob/TimedJob.php
@@ -34,6 +34,8 @@ use OCP\ILogger;
* 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;