BloopRifle
object BloopRifle
Type members
Classlikes
final case class BloopServerRuntimeInfo(bloopVersion: BloopVersion, jvmVersion: Int, javaHome: String)
Value members
Concrete methods
Opens a BSP connection to a running bloop server.
Opens a BSP connection to a running bloop server.
Starts a thread to read output from the nailgun connection, and another one to pass input to it.
- Returns:
A BspConnection object, that can be used to close the connection.
Checks whether a bloop server is running at this host / port.
Checks whether a bloop server is running at this host / port.
- Returns:
Whether a server is running or not.
def getCurrentBloopVersion(config: BloopRifleConfig, logger: BloopRifleLogger, workdir: Path, scheduler: ScheduledExecutorService): Either[BloopAboutFailure, BloopServerRuntimeInfo]
def startServer(config: BloopRifleConfig, scheduler: ScheduledExecutorService, logger: BloopRifleLogger, version: String, bloopJava: String): Future[Unit]
Starts a new bloop server.
Starts a new bloop server.
- Returns:
A future, that gets completed when the server is done starting (and can thus be used).