BloopRifle

scala.build.blooprifle.BloopRifle$
object BloopRifle

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

sealed abstract class BloopAboutFailure extends Product with Serializable

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
final case class BloopServerRuntimeInfo(bloopVersion: BloopVersion, jvmVersion: Int, javaHome: String)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class ParsingFailed(bloopAboutOutput: String) extends BloopAboutFailure

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def bsp(config: BloopRifleConfig, workingDir: Path, logger: BloopRifleLogger): BspConnection

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.

Attributes

Returns:

A BspConnection object, that can be used to close the connection.

def check(config: BloopRifleConfig, logger: BloopRifleLogger): Boolean

Checks whether a bloop server is running at this host / port.

Checks whether a bloop server is running at this host / port.

Attributes

Returns:

Whether a server is running or not.

def exit(config: BloopRifleConfig, workingDir: Path, logger: BloopRifleLogger): Int
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.

Attributes

Returns:

A future, that gets completed when the server is done starting (and can thus be used).