diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2020-08-25 10:40:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-25 10:40:26 +0200 |
commit | 0934aee46bee13d5ac4d62eae6fe5250c25192fb (patch) | |
tree | f70308739fe00ac18e878f91937f3f639c6295e8 /lib/public/WorkflowEngine | |
parent | b2877606944572dfee87296d6cfc11558f5954b9 (diff) | |
parent | 28c0eea8cb0e1016e751a2e28d0b09006751c58b (diff) | |
download | nextcloud-server-0934aee46bee13d5ac4d62eae6fe5250c25192fb.tar.gz nextcloud-server-0934aee46bee13d5ac4d62eae6fe5250c25192fb.zip |
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.php | 10 |
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; } |