aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/TaskProcessing/IManager.php
diff options
context:
space:
mode:
authorJulien Veyssier <julien-nc@posteo.net>2024-08-12 13:11:41 +0200
committerJulien Veyssier <julien-nc@posteo.net>2024-08-12 13:11:41 +0200
commitdbab2a825d4eecf0f16335b149f45859a1c4ba14 (patch)
tree5c3850bba2bfc80a259deede92e4a591177b346e /lib/public/TaskProcessing/IManager.php
parentb34edf222419df41dac091a4a7b4e41814f5a7c8 (diff)
downloadnextcloud-server-dbab2a825d4eecf0f16335b149f45859a1c4ba14.tar.gz
nextcloud-server-dbab2a825d4eecf0f16335b149f45859a1c4ba14.zip
fix(taskprocessing): select preferred provider when running sync task, fix task type values according to preferred provider
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Diffstat (limited to 'lib/public/TaskProcessing/IManager.php')
-rw-r--r--lib/public/TaskProcessing/IManager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/TaskProcessing/IManager.php b/lib/public/TaskProcessing/IManager.php
index e3e6b3be09d..86788449aaf 100644
--- a/lib/public/TaskProcessing/IManager.php
+++ b/lib/public/TaskProcessing/IManager.php
@@ -38,12 +38,12 @@ interface IManager {
public function getProviders(): array;
/**
- * @param string $taskType
+ * @param string $taskTypeId
* @return IProvider
* @throws Exception
* @since 30.0.0
*/
- public function getPreferredProvider(string $taskType);
+ public function getPreferredProvider(string $taskTypeId);
/**
* @return array<array-key,array{name: string, description: string, inputShape: ShapeDescriptor[], inputShapeEnumValues: ShapeEnumValue[][], inputShapeDefaults: array<array-key, numeric|string>, optionalInputShape: ShapeDescriptor[], optionalInputShapeEnumValues: ShapeEnumValue[][], optionalInputShapeDefaults: array<array-key, numeric|string>, outputShape: ShapeDescriptor[], outputShapeEnumValues: ShapeEnumValue[][], optionalOutputShape: ShapeDescriptor[], optionalOutputShapeEnumValues: ShapeEnumValue[][]}>