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:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2020-08-25 11:40:26 +0300
committerGitHub <noreply@github.com>2020-08-25 11:40:26 +0300
commit0934aee46bee13d5ac4d62eae6fe5250c25192fb (patch)
treef70308739fe00ac18e878f91937f3f639c6295e8 /lib/public/WorkflowEngine
parentb2877606944572dfee87296d6cfc11558f5954b9 (diff)
parent28c0eea8cb0e1016e751a2e28d0b09006751c58b (diff)
Merge pull request #22359 from nextcloud/fix/noid/flow-leaking-scope
fix possible leaking scope in Flow
Diffstat (limited to 'lib/public/WorkflowEngine')
-rw-r--r--lib/public/WorkflowEngine/IRuleMatcher.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/public/WorkflowEngine/IRuleMatcher.php b/lib/public/WorkflowEngine/IRuleMatcher.php
index cb52001a1a2..47ab3a25c3a 100644
--- a/lib/public/WorkflowEngine/IRuleMatcher.php
+++ b/lib/public/WorkflowEngine/IRuleMatcher.php
@@ -78,4 +78,14 @@ interface IRuleMatcher extends IFileCheck {
* @since 18.0.0
*/
public function getEntity(): IEntity;
+
+ /**
+ * this method can be called once to set the event name that is currently
+ * being processed. The workflow engine takes care of this usually, only an
+ * IComplexOperation might want to make use of it.
+ *
+ * @throws RuntimeException
+ * @since 20.0.0
+ */
+ public function setEventName(string $eventName): void;
}