Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-08-23 17:56:24 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-09-09 23:56:02 +0300
commitec36c0ae80ea50d460f2c15c16e7d9de15cafd40 (patch)
treed60c3bec5be8212430f8933743786bfe8eb476f4 /lib/public/WorkflowEngine/IManager.php
parent1c67357db8432174c2a80bbb9c729f4ead44ca0d (diff)
add operator interfaces / API
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/public/WorkflowEngine/IManager.php')
-rw-r--r--lib/public/WorkflowEngine/IManager.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/WorkflowEngine/IManager.php b/lib/public/WorkflowEngine/IManager.php
index c05459e1fb4..6d4bacc8e17 100644
--- a/lib/public/WorkflowEngine/IManager.php
+++ b/lib/public/WorkflowEngine/IManager.php
@@ -59,4 +59,12 @@ interface IManager {
* @since 18.0.0
*/
public function registerEntity(IEntity $entity): void;
+
+ /**
+ * Listen to 'OCP/WorkflowEngine::registerOperators' at the EventDispatcher
+ * for registering your operators
+ *
+ * @since 18.0.0
+ */
+ public function registerOperator(IOperator $operator): void;
}