aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/WorkflowEngine/IManager.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-08-27 16:52:00 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-09-09 22:56:02 +0200
commit4c2fdbb9085514692bb86a73bb415a41ccd209f4 (patch)
treecd014e8f825e99fd54225d907ce7e4ead8f44c64 /lib/public/WorkflowEngine/IManager.php
parentec36c0ae80ea50d460f2c15c16e7d9de15cafd40 (diff)
downloadnextcloud-server-4c2fdbb9085514692bb86a73bb415a41ccd209f4.tar.gz
nextcloud-server-4c2fdbb9085514692bb86a73bb415a41ccd209f4.zip
merge IOperator with IOperation for simplicity
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/public/WorkflowEngine/IManager.php')
-rw-r--r--lib/public/WorkflowEngine/IManager.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/public/WorkflowEngine/IManager.php b/lib/public/WorkflowEngine/IManager.php
index 6d4bacc8e17..8ef7a3a03e8 100644
--- a/lib/public/WorkflowEngine/IManager.php
+++ b/lib/public/WorkflowEngine/IManager.php
@@ -37,6 +37,9 @@ interface IManager {
const SCOPE_ADMIN = 0;
const SCOPE_USER = 1;
+ const EVENT_NAME_REG_OPERATION = 'OCP\WorkflowEngine::registerOperations';
+ const EVENT_NAME_REG_ENTITY = 'OCP\WorkflowEngine::registerEntities';
+
/**
* @param IStorage $storage
* @param string $path
@@ -66,5 +69,5 @@ interface IManager {
*
* @since 18.0.0
*/
- public function registerOperator(IOperator $operator): void;
+ public function registerOperation(IOperation $operator): void;
}