package exec
Ordering
- Alphabetic
Visibility
- 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.
-
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 JavaEnv extends Serializable
-
object
MultiplexedStreams
Helper object to redirect bytes written to
System.out
andSystem.err
to a given logger. - object ProcessConfig