Packages

o

bloop.launcher

Launcher

object Launcher extends LauncherMain

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Launcher
  2. LauncherMain
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type ConnectionResult = Either[Unit, Option[Socket]]
    Definition Classes
    LauncherMain

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def cli(args0: Array[String]): LauncherStatus
    Definition Classes
    LauncherMain
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. def connectToBloopBspServer(bloopVersion: String, skipBspConnection: Boolean, bridge: BspBridge, serverJvmOptions: List[String]): Either[LauncherStatus, ConnectionResult]
    Definition Classes
    LauncherMain
  8. def detectServerState(bloopVersion: String): Option[ServerStatus]
    Definition Classes
    LauncherMain
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def isValidBloopVersion(version: String): Option[Boolean]

    Checks that a bloop version can be used with the launcher.

    Checks that a bloop version can be used with the launcher. Compatible bloop versions are those that are the same or bigger than 1.1.2.

    version

    The bloop version we want to install if it's missing.

    returns

    Whether the version in compatible or not depending on if it can be parsed or not.

    Definition Classes
    LauncherMain
  16. def main(args: Array[String]): Unit
    Definition Classes
    LauncherMain
  17. val nailgunPort: Option[Int]
    Definition Classes
    LauncherMain
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. val out: PrintStream
    Definition Classes
    LauncherMain
  22. def recoverFromUninstalledServer(bloopVersion: String): Option[ServerStatus]

    Install the server by the universal method (install.py) or, if that fails, by resolving it.

    Install the server by the universal method (install.py) or, if that fails, by resolving it.

    When the server is not installed, we need to figure out a way to bring it to the user's computer. Therefore, we first try the install.py universal method to install bloop and all its scripts. This method can fail if, for example, python is not in the classpath or the installation script errors. As a fallback, we resolve bloop with coursier and execute an embedded cli as the last attempt to obtain a bloop instance running. This method does not depend on bloop, it just requires internet connection.

    bloopVersion

    The version we want to install, passed in by the client.

    returns

    An optional server state depending on whether any of the installation method succeeded.

    Definition Classes
    LauncherMain
  23. def runLauncher(bloopVersionToInstall: String, skipBspConnection: Boolean, serverJvmOptions: List[String]): LauncherStatus
    Definition Classes
    LauncherMain
  24. val shell: Shell
    Definition Classes
    LauncherMain
  25. def startServerViaScriptInBackground(binary: List[String], jvmOptions: List[String]): Unit

    Start a server in the background by using the python script bloop server.

    Start a server in the background by using the python script bloop server.

    This operation can take a while in some operating systems (most notably Windows, Unix is fast). After running a thread in the background, we will wait until the server is up.

    binary

    The list of arguments that make the python binary script we want to run.

    Definition Classes
    LauncherMain
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from LauncherMain

Inherited from AnyRef

Inherited from Any

Ungrouped