final class JvmForker extends JvmProcessForker
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- JvmForker
- JvmProcessForker
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newClassLoader(parent: Option[ClassLoader]): ClassLoader
Creates a
ClassLoader
from the classpath of thisForkProcess
Creates a
ClassLoader
from the classpath of thisForkProcess
- parent
A parent classloader
- returns
A classloader constructed from the classpath of this
ForkProcess
- Definition Classes
- JvmForker → JvmProcessForker
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def runMain(cwd: AbsolutePath, mainClass: String, args: Array[String], jargs: Array[String], logger: Logger, opts: CommonOptions, extraClasspath: Array[AbsolutePath]): Task[Int]
- Definition Classes
- JvmForker → JvmProcessForker
- final def runMain(cwd: AbsolutePath, mainClass: String, args: Array[String], jvmOptions: Array[String], envVars: List[String], logger: Logger, opts: CommonOptions, extraClasspath: Array[AbsolutePath] = Array.empty): Task[Int]
Run the main function in class
className
, passing itargs
Run the main function in class
className
, passing itargs
- cwd
The directory in which to start the forked JVM
- mainClass
The fully qualified name of the class to run
- args
The arguments to pass to the main method.
- jvmOptions
The java options to pass to the jvm.
- envVars
Env vars which should be passed to the jvm.
- logger
Where to log the messages from execution
- opts
The options to run the program with
- extraClasspath
Paths to append to the classpath before running
- returns
0 if the execution exited successfully, a non-zero number otherwise
- Definition Classes
- JvmProcessForker
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)