public class AbstractJvmExecSpec extends Object
A base class for specifying the execution of an entrypoint on a forked JVM.
| Constructor and description |
|---|
protected AbstractJvmExecSpec
(org.ysb33r.grolifant.api.core.ProjectOperations po) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
T |
entrypoint(Action<JvmEntryPoint> configurator)Configures the entrypoint for the JVM executable |
|
T |
jvm(Action<JavaForkOptionsWithEnvProvider> configurator)Configures a JVM that will be forked. |
|
T |
process(Action<ProcessExecutionSpec> configurator)Configures the stream redirection and exit code checks. |
|
T |
runnerSpec(Action<CmdlineArgumentSpec> configurator)Configures the arguments. |
Configures the entrypoint for the JVM executable
configurator - An action to configure the entrypointConfigures a JVM that will be forked.
configurator - An action to configure the JVM's fork options.Configures the stream redirection and exit code checks.
configurator - An action to configure the execution.Configures the arguments.
configurator - An action to configure the arguments.