Browse Source
fix(IRegistrationContext): Add missing TaskProcessing methods
Signed-off-by: provokateurin <kate@provokateurin.de>
pull/45345/head
provokateurin
1 year ago
Failed to extract signature
1 changed files with
22 additions and
0 deletions
-
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; |
|
|
|
} |