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

main.kotlin.org.jetbrains.bsp.protocol.BazelBuildServer.kt Maven / Gradle / Ivy

package org.jetbrains.bsp.protocol

import ch.epfl.scala.bsp4j.RunResult
import ch.epfl.scala.bsp4j.WorkspaceBuildTargetsResult
import org.eclipse.lsp4j.jsonrpc.services.JsonRequest
import java.util.concurrent.CompletableFuture

public interface BazelBuildServer {
  @JsonRequest("workspace/libraries")
  public fun workspaceLibraries(): CompletableFuture

  @JsonRequest("workspace/goLibraries")
  public fun workspaceGoLibraries(): CompletableFuture

  /**
   * Returns the list of all targets in the workspace that are neither modules nor libraries, but should be displayed in the UI.
   */
  @JsonRequest("workspace/nonModuleTargets")
  public fun workspaceNonModuleTargets(): CompletableFuture

  @JsonRequest("workspace/directories")
  public fun workspaceDirectories(): CompletableFuture

  @JsonRequest("workspace/invalidTargets")
  public fun workspaceInvalidTargets(): CompletableFuture

  @JsonRequest("buildTarget/runWithDebug")
  public fun buildTargetRunWithDebug(params: RunWithDebugParams): CompletableFuture

  @JsonRequest("buildTarget/mobileInstall")
  public fun buildTargetMobileInstall(params: MobileInstallParams): CompletableFuture

  @JsonRequest("buildTarget/jvmBinaryJars")
  public fun buildTargetJvmBinaryJars(params: JvmBinaryJarsParams): CompletableFuture

  @JsonRequest("workspace/buildAndGetBuildTargets")
  public fun workspaceBuildAndGetBuildTargets(): CompletableFuture

  @JsonRequest("workspace/buildTargetsPartial")
  public fun workspaceBuildTargetsPartial(params: WorkspaceBuildTargetsPartialParams): CompletableFuture
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy