final class BloopBspServices extends AnyRef
- Alphabetic
- By Inheritance
- BloopBspServices
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new BloopBspServices(callSiteState: State, client: BloopLanguageClient, relativeConfigPath: RelativePath, stopBspServer: CancelablePromise[Unit], 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(): BspEndpointResponse[WorkspaceBuildTargetsResult]
- def clean(params: CleanCacheParams): BspEndpointResponse[CleanCacheResult]
- val clientInfo: Promise[BspClientInfo]
- val clientInfoTask: Task[BspClientInfo]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- def compile(params: CompileParams): BspEndpointResponse[CompileResult]
- def compileProjects(userProjects: Seq[ProjectMapping], state: State, compileArgs: List[String], originId: Option[String], logger: BspServerLogger): BspResult[CompileResult]
- def dependencyModules(request: DependencyModulesParams): BspEndpointResponse[DependencyModulesResult]
- 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(): Task[Unit]
- val exited: AtomicBoolean
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def ifInitialized[T](originId: Option[String])(compute: BspComputation[T]): Task[BspResponse[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(): Unit
- def inverseSources(request: InverseSourcesParams): BspEndpointResponse[InverseSourcesResult]
- 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 javacOptions(request: JavacOptionsParams): BspEndpointResponse[JavacOptionsResult]
- def jvmEnvironment(targets: Seq[BuildTargetIdentifier]): BspEndpointResponse[List[JvmEnvironmentItem]]
- def jvmRunEnvironment(params: JvmRunEnvironmentParams): BspEndpointResponse[JvmRunEnvironmentResult]
- def jvmTestEnvironment(params: JvmTestEnvironmentParams): BspEndpointResponse[JvmTestEnvironmentResult]
- 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() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def outputPaths(request: OutputPathsParams): BspEndpointResponse[OutputPathsResult]
- 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: BloopRpcServices
- def 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.
- def stopClientCaching(params: StopClientCachingParams): Task[Unit]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def test(params: TestParams): BspEndpointResponse[TestResult]
- def toSbtBuildTarget(sbt: Sbt, scala: ScalaBuildTarget): SbtBuildTarget
- 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(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated