com.jetbrains.pluginverifier.tasks.checkPlugin.CheckPluginRunner.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of verifier-cli Show documentation
Show all versions of verifier-cli Show documentation
Command-line interface for JetBrains Plugin Verifier with set of high-level tasks for plugin and IDE validation
/*
* Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/
package com.jetbrains.pluginverifier.tasks.checkPlugin
import com.jetbrains.pluginverifier.plugin.PluginDetailsCache
import com.jetbrains.pluginverifier.reporting.PluginVerificationReportage
import com.jetbrains.pluginverifier.repository.PluginRepository
import com.jetbrains.pluginverifier.tasks.CommandRunner
/**
* Runner of the ['check-plugin'] [CheckPluginTask] command.
*/
class CheckPluginRunner : CommandRunner {
override val commandName: String = "check-plugin"
override fun getParametersBuilder(
pluginRepository: PluginRepository,
pluginDetailsCache: PluginDetailsCache,
reportage: PluginVerificationReportage
) = CheckPluginParamsBuilder(pluginRepository, reportage, pluginDetailsCache)
}