diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-08-29 12:36:35 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-09-09 22:56:03 +0200 |
commit | f0f0a7b43ebc4584f5dd6c0473a57eafbaa190d1 (patch) | |
tree | 29107fb3070f4e3353b79ef34c1ffa08c204b2e6 /lib | |
parent | 54bdc95cc15853c42eac6e306aadcc325b6e74a2 (diff) | |
download | nextcloud-server-f0f0a7b43ebc4584f5dd6c0473a57eafbaa190d1.tar.gz nextcloud-server-f0f0a7b43ebc4584f5dd6c0473a57eafbaa190d1.zip |
adds a trigger hint for complex operations
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/WorkflowEngine/IComplexOperation.php | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/lib/public/WorkflowEngine/IComplexOperation.php b/lib/public/WorkflowEngine/IComplexOperation.php index f3ba6d014a4..63a4ca2460a 100644 --- a/lib/public/WorkflowEngine/IComplexOperation.php +++ b/lib/public/WorkflowEngine/IComplexOperation.php @@ -38,6 +38,19 @@ namespace OCP\WorkflowEngine; * * @package OCP\WorkflowEngine * - * @sincee 18.0.0 + * @since 18.0.0 */ -interface IComplexOperation extends IOperation { } +interface IComplexOperation extends IOperation { + + /** + * As IComplexOperation chooses the triggering events itself, a hint has + * to be shown to the user so make clear when this operation is becoming + * active. This method returns such a translated string. + * + * Example: "When a file is accessed" (en) + * + * @since 18.0.0 + */ + public function getTriggerHint(): string; + +} |