Packages

c

bloop.exec

InProcess

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
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InProcess
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ProcessConfig
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InProcess(classpath: Array[AbsolutePath])

Value Members

  1. val classpath: Array[AbsolutePath]
    Definition Classes
    InProcessProcessConfig
  2. def runMain(className: String, args: Array[String], logger: Logger, extraClasspath: Array[AbsolutePath] = Array.empty): Int

    Run the main function in class className, passing it args.

    Run the main function in class className, passing it args.

    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
    InProcessProcessConfig
  3. final def toExecutionClassLoader(parent: Option[ClassLoader]): ClassLoader

    Creates a ClassLoader from the classpath of this ProcessConfig.

    Creates a ClassLoader from the classpath of this ProcessConfig.

    parent

    A parent classloader

    returns

    A classloader constructed from the classpath of this ProcessConfig.

    Definition Classes
    ProcessConfig