summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-08-26 20:22:37 +0200
committerGitHub <noreply@github.com>2020-08-26 20:22:37 +0200
commitc9a1379bdf99013c7f0bf9510f0e9f7955100ff7 (patch)
tree20b2dca6e0cc5c63edd9f1ccf02adba31e10592b /lib
parent7aeb2224261e21160bdbf0bbb1b7f6ec0e3c7b6a (diff)
parentf8417cca0f1ac429041784af5417062a781f7d3e (diff)
downloadnextcloud-server-c9a1379bdf99013c7f0bf9510f0e9f7955100ff7.tar.gz
nextcloud-server-c9a1379bdf99013c7f0bf9510f0e9f7955100ff7.zip
Merge pull request #22410 from nextcloud/backport/22359/stable19
[stable19] fix possible leaking scope in Flow
Diffstat (limited to 'lib')
-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..d2bef889520 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 19.0.3
+ */
+ public function setEventName(string $eventName): void;
}