Package ch.epfl.scala.bsp4j
Interface JvmBuildServer
-
public interface JvmBuildServer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<JvmRunEnvironmentResult>buildTargetJvmRunEnvironment(JvmRunEnvironmentParams params)Similar to `buildTarget/jvmTestEnvironment`, but returns environment that should be used for regular exection of main classes, not for testingjava.util.concurrent.CompletableFuture<JvmTestEnvironmentResult>buildTargetJvmTestEnvironment(JvmTestEnvironmentParams params)The JVM test environment request is sent from the client to the server in order to gather information required to launch a Java process.
-
-
-
Method Detail
-
buildTargetJvmTestEnvironment
java.util.concurrent.CompletableFuture<JvmTestEnvironmentResult> buildTargetJvmTestEnvironment(JvmTestEnvironmentParams params)
The JVM test environment request is sent from the client to the server in order to gather information required to launch a Java process. This is useful when the client wants to control the Java process execution, for example to enable custom Java agents or launch a custom main class during unit testing or debugging The data provided by this endpoint may change between compilations, so it should not be cached in any form. The client should ask for it right before test execution, after all the targets are compiled.
-
buildTargetJvmRunEnvironment
java.util.concurrent.CompletableFuture<JvmRunEnvironmentResult> buildTargetJvmRunEnvironment(JvmRunEnvironmentParams params)
Similar to `buildTarget/jvmTestEnvironment`, but returns environment that should be used for regular exection of main classes, not for testing
-
-