Skip to content

Commit

Permalink
Merge pull request #45345 from nextcloud/fix/iregistrationcontext/add…
Browse files Browse the repository at this point in the history
…-missing-taskprocessing-methods
  • Loading branch information
provokateurin authored May 16, 2024
2 parents fe7217d + adc7ae8 commit ee8a97b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions lib/public/AppFramework/Bootstrap/IRegistrationContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -410,4 +410,26 @@ public function registerSetupCheck(string $setupCheckClass): void;
* @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;
}

0 comments on commit ee8a97b

Please sign in to comment.