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

com.jetbrains.pluginverifier.repository.provider.ResourceProvider.kt Maven / Gradle / Ivy

/*
 * 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.repository.provider

/**
 * Provider of the resource by its key.
 */
interface ResourceProvider {

  /**
   * Provides a resource by [key].
   *
   * @throws InterruptedException if the current thread has been
   * interrupted while providing the resource.
   */
  @Throws(InterruptedException::class)
  fun provide(key: K): ProvideResult

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy