public interface Executable<T extends Executable<T>>
A process that can be executed outside the JVM.
T - Classes that extends Executable.| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
entrypoint(Action<ExecutableEntryPoint> configurator)Configures the native entrypoint. |
|
public void |
entrypoint(groovy.lang.Closure<?> configurator)Configures the native entrypoint. |
|
public void |
process(Action<ProcessExecutionSpec> configurator)Configures the stream redirections and exit checks. |
|
public void |
process(groovy.lang.Closure<?> configurator)Configures the stream redirections and exit checks. |
|
public void |
runnerSpec(Action<CmdlineArgumentSpec> configurator)Configures the arguments. |
|
public void |
runnerSpec(groovy.lang.Closure<?> configurator)Configures the arguments. |
Configures the native entrypoint.
configurator - An action to configure the external executable's entrypoint.Configures the native entrypoint.
configurator - A closure to configure the external executable's entrypoint.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.