aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/BackgroundJob
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-04-20 15:23:13 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-04-23 12:36:12 +0200
commit94038e0673d38a0ddfcbda2d6ece8d0d145b0956 (patch)
tree69b07be17c3613393ffae2c83b169fd48659d151 /lib/public/BackgroundJob
parent281c8047b6a1d6581201c126180a5570eca5d612 (diff)
downloadnextcloud-server-94038e0673d38a0ddfcbda2d6ece8d0d145b0956.tar.gz
nextcloud-server-94038e0673d38a0ddfcbda2d6ece8d0d145b0956.zip
IParallelAwareJob: Add missing boilerplate
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'lib/public/BackgroundJob')
-rw-r--r--lib/public/BackgroundJob/IParallelAwareJob.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/public/BackgroundJob/IParallelAwareJob.php b/lib/public/BackgroundJob/IParallelAwareJob.php
index 9374901e09f..30c69e16b5f 100644
--- a/lib/public/BackgroundJob/IParallelAwareJob.php
+++ b/lib/public/BackgroundJob/IParallelAwareJob.php
@@ -1,7 +1,34 @@
<?php
+declare(strict_types=1);
+
+
+/**
+ * @copyright Copyright (c) 2023, Marcel Klehr <mklehr@gmx.net>
+ *
+ * @author Marcel Klehr <mklehr@gmx.net>
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
namespace OCP\BackgroundJob;
+/**
+ * @since 27.0.0
+ */
interface IParallelAwareJob {
/**
* Set this to false to prevent two Jobs from the same class from running in parallel