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 ExecutableEntryPoint |
getEntrypoint()Access to the entrypoint |
|
public ProcessExecutionSpec |
getProcess()Access to the process specification. |
|
public CmdlineArgumentSpec |
getRunnerSpec()Access to the runner specification. |
|
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.Access to the entrypoint
Access to the process specification.
Access to the runner specification.
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.