summaryrefslogtreecommitdiffstats
path: root/lib/public/LanguageModel/AbstractLanguageModelTask.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/LanguageModel/AbstractLanguageModelTask.php')
-rw-r--r--lib/public/LanguageModel/AbstractLanguageModelTask.php21
1 files changed, 5 insertions, 16 deletions
diff --git a/lib/public/LanguageModel/AbstractLanguageModelTask.php b/lib/public/LanguageModel/AbstractLanguageModelTask.php
index 05503f4d95c..9621b3d4905 100644
--- a/lib/public/LanguageModel/AbstractLanguageModelTask.php
+++ b/lib/public/LanguageModel/AbstractLanguageModelTask.php
@@ -5,7 +5,11 @@ namespace OCP\LanguageModel;
use OC\LanguageModel\Db\Task;
/**
- * @since 28.0.0
+ * This is an abstract LanguageModel task that implements basic
+ * goodies for downstream tasks
+ * @since 28.0.
+ * @template T of ILanguageModelProvider
+ * @template-implements ILanguageModelTask<T>
*/
abstract class AbstractLanguageModelTask implements ILanguageModelTask {
protected ?int $id;
@@ -26,21 +30,6 @@ abstract class AbstractLanguageModelTask implements ILanguageModelTask {
}
/**
- * @param ILanguageModelProvider $provider
- * @return string
- * @throws \RuntimeException
- * @since 28.0.0
- */
- abstract public function visitProvider(ILanguageModelProvider $provider): string;
-
- /**
- * @param ILanguageModelProvider $provider
- * @return bool
- * @since 28.0.0
- */
- abstract public function canUseProvider(ILanguageModelProvider $provider): bool;
-
- /**
* @return string
* @since 28.0.0
*/