diff options
author | provokateurin <kate@provokateurin.de> | 2024-05-16 09:54:16 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-05-16 09:54:16 +0200 |
commit | adc7ae866a9d58c3e1d69dfa50ba2349e532915a (patch) | |
tree | 7dcc31719bc75e9241bf0e7deb7ae432461db462 /lib/public/AppFramework | |
parent | bd6989d365b465857e8a6b722dcbc77c520f3f9d (diff) | |
download | nextcloud-server-adc7ae866a9d58c3e1d69dfa50ba2349e532915a.tar.gz nextcloud-server-adc7ae866a9d58c3e1d69dfa50ba2349e532915a.zip |
fix(IRegistrationContext): Add missing TaskProcessing methods
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib/public/AppFramework')
-rw-r--r-- | lib/public/AppFramework/Bootstrap/IRegistrationContext.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Bootstrap/IRegistrationContext.php b/lib/public/AppFramework/Bootstrap/IRegistrationContext.php index 09bc703e0a4..c67ad352f4c 100644 --- a/lib/public/AppFramework/Bootstrap/IRegistrationContext.php +++ b/lib/public/AppFramework/Bootstrap/IRegistrationContext.php @@ -410,4 +410,26 @@ interface IRegistrationContext { * @since 29.0.0 */ public function registerDeclarativeSettings(string $declarativeSettingsClass): void; + + /** + * Register an implementation of \OCP\TaskProcessing\IProvider that + * will handle the implementation of task processing + * + * @param string $taskProcessingProviderClass + * @psalm-param class-string<\OCP\TaskProcessing\IProvider> $taskProcessingProviderClass + * @return void + * @since 30.0.0 + */ + public function registerTaskProcessingProvider(string $taskProcessingProviderClass): void; + + /** + * Register an implementation of \OCP\TaskProcessing\ITaskType that + * will handle the implementation of a task processing type + * + * @param string $taskProcessingTaskTypeClass + * @psalm-param class-string<\OCP\TaskProcessing\ITaskType> $taskProcessingTaskTypeClass + * @return void + * @since 30.0.0 + */ + public function registerTaskProcessingTaskType(string $taskProcessingTaskTypeClass): void; } |