package exec
- Alphabetic
- Public
- All
Type Members
-
case class
Fork(classpath: Array[AbsolutePath], javaEnv: JavaEnv) extends ProcessConfig with Product with Serializable
Configuration to start a new JVM to execute Java code.
-
abstract
class
IdentifiedThread extends Thread
A
Thread
that can be identified viaid
.A
Thread
that can be identified viaid
. Itsid
is stored in anInheritableThreadLocal
variable that can be used to perform operations specific to that thread (e.g. selecting the right outputstreams to use to simulate dedicated stdout / stderr. -
case class
InProcess(classpath: Array[AbsolutePath]) extends ProcessConfig with Product with Serializable
Configuration to execute Java code without starting a new JVM.
-
final
case class
JavaEnv(fork: Boolean, javaHome: AbsolutePath, javaOptions: Array[String]) extends Product with Serializable
The configuration of the Java environment for a given project.
The configuration of the Java environment for a given project. Defines whether we should fork, and how to spawn a new JVM.
- fork
If true, fork a new JVM. Run in process otherwise.
- javaHome
Location of the java home. The
java
binary is expected to be found in$javaHome/bin/java
.- javaOptions
The options to pass the JVM when starting.
-
sealed abstract
class
ProcessConfig extends AnyRef
Configures how to start new processes to run Java code.
Value Members
- object IdentifiedThread
- object JavaEnv extends Serializable
-
object
MultiplexedStreams
Helper object to redirect bytes written to
System.out
andSystem.err
to a given logger. - object ProcessConfig