DependencyService

依存関係管理サービス

プラグインの依存関係の解析・解決を担当する 薄いファサードとして機能し、オーケストレーションのみを行う

Functions

Link copied to clipboard
abstract fun buildDependencyTree(pluginName: String, includeSoftDependencies: Boolean = false): Either<DependencyError, DependencyTree>

プラグインの依存関係ツリーを構築する

Link copied to clipboard
abstract fun checkMissingDependencies(pluginName: String? = null): Map<String, List<String>>

不足している依存関係をチェックする

Link copied to clipboard
abstract fun getDependencyChains(pluginName: String): Either<DependencyError, List<List<String>>>

指定プラグインへの依存チェーンを取得する(mpm deps why 用)

Link copied to clipboard
abstract fun getDependencyInfo(pluginName: String): Either<DependencyError, DependencyInfo>

プラグインの依存関係情報を取得する

Link copied to clipboard
abstract fun getReverseDependencies(pluginName: String): List<String>

逆依存関係を取得する(指定プラグインに依存しているプラグインのリスト)

Link copied to clipboard
abstract suspend fun resolveDependencies(pluginName: String, includeSoftDependencies: Boolean = false): Either<DependencyError, DependencyResolveResult>

指定されたプラグインの依存関係を解決する