All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jetbrains.pluginverifier.tasks.TaskParameters.kt Maven / Gradle / Ivy

Go to download

Command-line interface for JetBrains Plugin Verifier with set of high-level tasks for plugin and IDE validation

There is a newer version: 1.379
Show newest version
/*
 * 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

import com.jetbrains.pluginverifier.ide.IdeDescriptor
import java.io.Closeable

/**
 * Interface of the parameters needed to run a [verification task] [Task].
 *
 * The parameters can hold allocated resources such as
 * [class files resolvers] [com.jetbrains.plugin.structure.classes.resolvers.Resolver],
 * [IDE descriptors] [IdeDescriptor] and [file locks] [com.jetbrains.pluginverifier.repository.files.FileLock].
 * Thus, the [parameters] [TaskParameters] must be closed after usage.
 */
interface TaskParameters : Closeable {

  val presentableText: String

  fun createTask(): Task

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy