aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Activity/IExtension.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-02-14 20:48:27 +0100
committerJoas Schilling <coding@schilljs.com>2024-02-14 20:50:08 +0100
commit42be7a5d74d1cd4d8edc0ba52854f1bb73cd67d0 (patch)
tree85ec146d450a0aceaafbc926f94b32dff442af7a /lib/public/Activity/IExtension.php
parent887c061fc8de23848095d71b567a8ad413c7f9b3 (diff)
downloadnextcloud-server-42be7a5d74d1cd4d8edc0ba52854f1bb73cd67d0.tar.gz
nextcloud-server-42be7a5d74d1cd4d8edc0ba52854f1bb73cd67d0.zip
fix(OCP): Add since tag for all constants
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/Activity/IExtension.php')
-rw-r--r--lib/public/Activity/IExtension.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/public/Activity/IExtension.php b/lib/public/Activity/IExtension.php
index e02347f0373..23d96380c87 100644
--- a/lib/public/Activity/IExtension.php
+++ b/lib/public/Activity/IExtension.php
@@ -31,13 +31,43 @@ namespace OCP\Activity;
* @since 8.0.0
*/
interface IExtension {
+ /**
+ * @since 8.0.0
+ */
public const METHOD_STREAM = 'stream';
+
+ /**
+ * @since 8.0.0
+ */
public const METHOD_MAIL = 'email';
+
+ /**
+ * @since 20.0.0
+ */
public const METHOD_NOTIFICATION = 'notification';
+ /**
+ * @since 8.0.0
+ */
public const PRIORITY_VERYLOW = 10;
+
+ /**
+ * @since 8.0.0
+ */
public const PRIORITY_LOW = 20;
+
+ /**
+ * @since 8.0.0
+ */
public const PRIORITY_MEDIUM = 30;
+
+ /**
+ * @since 8.0.0
+ */
public const PRIORITY_HIGH = 40;
+
+ /**
+ * @since 8.0.0
+ */
public const PRIORITY_VERYHIGH = 50;
}