public interface ForkedJvmExecutable<T extends ForkedJvmExecutable>
A process that can be executed on a JVM
T - Classes that extends ForkedJvmExecutable.| Type Params | Return Type | Name and description |
|---|---|---|
|
public T |
entrypoint(Action<JvmEntryPoint> configurator)Configures the entrypoint for the JVM executable |
|
public T |
entrypoint(groovy.lang.Closure<?> configurator)Configures the entrypoint for the JVM executable |
|
public JvmEntryPoint |
getEntrypoint()Get direct access to the JvmEntryPoint instance. |
|
public JavaForkOptionsWithEnvProvider |
getJvm()Direct access to the JavaForkOptionsWithEnvProvider instance. |
|
public ProcessExecutionSpec |
getProcess()Get direct access to the ProcessExecutionSpec instance. |
|
public CmdlineArgumentSpec |
getRunnerSpec()Get direct access to the CmdlineArgumentSpec instance. |
|
public T |
jvm(Action<JavaForkOptionsWithEnvProvider> configurator)Configures a JVM that will be forked. |
|
public T |
jvm(groovy.lang.Closure<?> configurator)Configures a JVM that will be forked. |
|
public T |
process(Action<ProcessExecutionSpec> configurator)Configures the stream redirections and exit checks. |
|
public T |
process(groovy.lang.Closure<?> configurator)Configures the stream redirections and exit checks. |
|
public T |
runnerSpec(Action<CmdlineArgumentSpec> configurator)Configures the arguments. |
|
public T |
runnerSpec(groovy.lang.Closure<?> configurator)Configures the arguments. |
Configures the entrypoint for the JVM executable
configurator - An action to configure the entrypointConfigures the entrypoint for the JVM executable
configurator - A closure to configure the entrypointGet direct access to the JvmEntryPoint instance.
Direct access to the JavaForkOptionsWithEnvProvider instance.
Get direct access to the ProcessExecutionSpec instance.
Get direct access to the CmdlineArgumentSpec instance.
Configures a JVM that will be forked.
configurator - An action to configure the JVM's fork options.Configures a JVM that will be forked.
configurator - A closure to configure the JVM's fork options.Configures the stream redirections and exit checks.
configurator - An action to configure the execution.Configures the stream redirections and exit checks.
configurator - A closure to configure the execution.Configures the arguments.
configurator - An action to configure the arguments.Configures the arguments.
configurator - A closure to configure the arguments.