summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-08-26 20:22:28 +0200
committerGitHub <noreply@github.com>2020-08-26 20:22:28 +0200
commit132b299ab2fa6a2df0b922871cfc9cbbb4508083 (patch)
tree49e959dadf251e634bbc0aef8ee51b3dce538038 /lib
parentab575c9521b0a689b23ccf37f77b63f645980323 (diff)
parent36260dddf62e8598e01eba5c1d77b4eaf33941fa (diff)
downloadnextcloud-server-132b299ab2fa6a2df0b922871cfc9cbbb4508083.tar.gz
nextcloud-server-132b299ab2fa6a2df0b922871cfc9cbbb4508083.zip
Merge pull request #22411 from nextcloud/backport/22359/stable18
[stable18] 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..ca38889b859 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 18.0.9
+ */
+ public function setEventName(string $eventName): void;
}