Module ojalgo

Class ProcessOptions

java.lang.Object
org.ojalgo.concurrent.ProcessOptions
All Implemented Interfaces:
Serializable

public final class ProcessOptions extends Object implements Serializable
Options to control the child JVM process used by ProcessExecutorService. Immutable; use the builder to construct instances.

Notes on inheritance:

  • Environment variables: a child ProcessBuilder inherits the parent environment by default. Any entries added via ProcessOptions.Builder.env(String, String) are applied on top of that.
  • System properties: a child JVM does not automatically inherit arbitrary -D properties; only those provided here are passed as -Dkey=value. Use the builder helpers to inherit selected properties if needed.
  • Classpath: by default the executor derives an effective classpath from test/main classpaths and build output directories; specifying ProcessOptions.Builder.classpath(String) overrides that.
See Also:
  • Field Details

    • DEFAULT

      public static final ProcessOptions DEFAULT
    • classpath

      public final String classpath
    • enableNativeAccessAllUnnamed

      public final boolean enableNativeAccessAllUnnamed
    • env

      public final Map<String,String> env
    • jvmArgs

      public final List<String> jvmArgs
    • systemProperties

      public final Map<String,String> systemProperties
    • timeout

      public final Duration timeout
    • xmx

      public final String xmx