final class BloopBspServices extends AnyRef
- Alphabetic
- By Inheritance
- BloopBspServices
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new BloopBspServices(callSiteState: State, client: JsonRpcClient, relativeConfigPath: RelativePath, stopBspServer: Cancelable, observer: Option[BehaviorSubject[State]], isClientConnected: AtomicBoolean, connectedBspClients: ConcurrentHashMap[BspClientInfo, AbsolutePath], computationScheduler: Scheduler, ioScheduler: Scheduler)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def buildTargets(request: WorkspaceBuildTargetsRequest): BspEndpointResponse[WorkspaceBuildTargetsResult]
- val clientInfo: Promise[BspClientInfo]
- val clientInfoTask: Task[BspClientInfo]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def compile(params: CompileParams): BspEndpointResponse[CompileResult]
- def compileProjects(userProjects: Seq[ProjectMapping], state: State, compileArgs: List[String], originId: Option[String], logger: BspServerLogger): BspResult[CompileResult]
- def dependencySources(request: DependencySourcesParams): BspEndpointResponse[DependencySourcesResult]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def exit(shutdown: Exit): Task[Unit]
- val exited: AtomicBoolean
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def ifInitialized[T](originId: Option[String])(compute: BspComputation[T]): BspEndpointResponse[T]
-
def
initialize(params: InitializeBuildParams): BspEndpointResponse[InitializeBuildResult]
Implements the initialize method that is the first pass of the Client-Server handshake.
Implements the initialize method that is the first pass of the Client-Server handshake.
- params
The params request that we get from the client.
- returns
An async computation that returns the response to the client.
- def initialized(initializedBuildParams: InitializedBuildParams): Unit
- val isInitialized: Promise[BspResponse[Unit]]
- val isInitializedTask: Task[BspResponse[Unit]]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isShutdown: Promise[BspResponse[Unit]]
- val isShutdownTask: Task[BspResponse[Unit]]
- def mapToProject(target: BuildTargetIdentifier, state: State): Either[String, ProjectMapping]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def resources(request: ResourcesParams): BspEndpointResponse[ResourcesResult]
- def run(params: RunParams): BspEndpointResponse[RunResult]
- def scalaMainClasses(params: ScalaMainClassesParams): BspEndpointResponse[ScalaMainClassesResult]
- def scalaTestClasses(params: ScalaTestClassesParams): BspEndpointResponse[ScalaTestClassesResult]
- def scalacOptions(request: ScalacOptionsParams): BspEndpointResponse[ScalacOptionsResult]
-
def
schedule[T](t: BspEndpointResponse[T]): BspEndpointResponse[T]
Schedule the async response handlers to run on the default computation thread pool and leave the serialization/deserialization work (bsp4s library work) to the IO thread pool.
Schedule the async response handlers to run on the default computation thread pool and leave the serialization/deserialization work (bsp4s library work) to the IO thread pool. This is critical for performance.
- final val services: Services
- def shutdown(shutdown: Shutdown): Unit
- def sources(request: SourcesParams): BspEndpointResponse[SourcesResult]
- def startDebugSession(params: DebugSessionParams): BspEndpointResponse[DebugSessionAddress]
-
def
stateAfterExecution: State
Returns the final state after BSP commands that can be cached by bloop.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def test(params: TestParams): BspEndpointResponse[TestResult]
- def toScalaBuildTarget(project: Project, instance: ScalaInstance): ScalaBuildTarget
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unregisterClient: Option[BspClientInfo]
Unregisters this client if the BSP services registered one.
Unregisters this client if the BSP services registered one.
This method is typically called from
BspServer
when a client is disconnected for any reason. -
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )