public interface JvmExecMethods<E extends ForkedJvmExecutable<E>>
Adds interface to a AbstractToolExtension implementation, so that the spirit of the original
javaexec project extension can be maintained for a specific tool.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public ExecResult |
exec(Action<E> specConfigurator)Creates an execution specification, configure it with the supplied configurator, then executes it. |
|
public ExecResult |
exec(E spec)Executes an existing execution specification. |
Creates an execution specification, configure it with the supplied configurator, then executes it.
specConfigurator - Specification configurator.Executes an existing execution specification.
spec - Specification to execute.