Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(IRegistrationContext): Add missing TaskProcessing methods #45345

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
provokateurin marked this conversation as resolved.
Show resolved Hide resolved

/**
* 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;
}
Loading