main.kotlin.org.jetbrains.bsp.protocol.MobileInstall.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bazel-bsp Show documentation
Show all versions of bazel-bsp Show documentation
An implementation of the Build Server Protocol for Bazel. Allows clients such as IntelliJ to obtain build
specific
information in order to improve the experience of users in the IDE.
package org.jetbrains.bsp.protocol
import ch.epfl.scala.bsp4j.BuildTargetIdentifier
import ch.epfl.scala.bsp4j.StatusCode
import com.google.gson.annotations.JsonAdapter
import org.eclipse.lsp4j.jsonrpc.json.adapters.EnumTypeAdapter
/**
* See [mobile-install docs](https://bazel.build/docs/user-manual#start)
*/
@JsonAdapter(EnumTypeAdapter.Factory::class)
public enum class MobileInstallStartType(public val value: Int) {
NO(1),
COLD(2),
WARM(3),
DEBUG(4),
}
public data class MobileInstallParams(
val target: BuildTargetIdentifier,
val originId: String,
val targetDeviceSerialNumber: String,
val startType: MobileInstallStartType,
val adbPath: String?,
)
public data class MobileInstallResult(val statusCode: StatusCode, var originId: String? = null)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy