Operations
scala.build.blooprifle.internal.Operations$
object Operations
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Operations.type
Members list
Concise view
Value members
Concrete methods
def about(address: Address, workingDir: Path, out: OutputStream, err: OutputStream, logger: BloopRifleLogger, scheduler: ExecutorService): Int
def bsp(address: Address, bspSocketOrPort: BspConnectionAddress, workingDir: Path, inOpt: Option[InputStream], out: OutputStream, err: OutputStream, 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.
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(address: Address, workingDir: Path, out: OutputStream, err: OutputStream, logger: BloopRifleLogger): Int
def run(command: String, args: Array[String], workingDir: Path, address: Address, inOpt: Option[InputStream], out: OutputStream, err: OutputStream, logger: BloopRifleLogger, assumeInTty: Boolean, assumeOutTty: Boolean, assumeErrTty: Boolean): Int
def startServer(address: Address, javaPath: String, javaOpts: Seq[String], classPath: Seq[Path], workingDir: File, scheduler: ScheduledExecutorService, waitInterval: FiniteDuration, timeout: Duration, logger: BloopRifleLogger, bloopServerSupportsFileTruncating: Boolean): 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).
def timeout[T](duration: Duration, scheduler: ExecutorService, logger: BloopRifleLogger)(body: => T): T