case class InProcess(classpath: Array[AbsolutePath]) extends ProcessConfig with Product with Serializable
Configuration to execute Java code without starting a new JVM.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- InProcess
- Serializable
- Serializable
- Product
- Equals
- ProcessConfig
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new InProcess(classpath: Array[AbsolutePath])
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
-
val
classpath: Array[AbsolutePath]
- Definition Classes
- InProcess → ProcessConfig
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
runMain(className: String, args: Array[String], logger: Logger, extraClasspath: Array[AbsolutePath] = Array.empty): Int
Run the main function in class
className
, passing itargs
.Run the main function in class
className
, passing itargs
.- className
The fully qualified name of the class to run.
- args
The arguments to pass to the main method.
- logger
Where to log the messages from execution.
- extraClasspath
Paths to append to the classpath before running.
- returns
0 if the execution exited successfully, a non-zero number otherwise.
- Definition Classes
- InProcess → ProcessConfig
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toExecutionClassLoader(parent: Option[ClassLoader]): ClassLoader
Creates a
ClassLoader
from the classpath of thisProcessConfig
.Creates a
ClassLoader
from the classpath of thisProcessConfig
.- parent
A parent classloader
- returns
A classloader constructed from the classpath of this
ProcessConfig
.
- Definition Classes
- ProcessConfig
-
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( ... )