public abstract class AbstractCommandExecTask<T extends AbstractCommandExecSpec<T>> extends AbstractExecTask implements ExecutableCommand
Configures a task that will run a non-JVM command-based execution.
| Constructor and description |
|---|
protected AbstractCommandExecTask
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
cmd(Action<CommandEntryPoint> configurator)Configures the command along with its arguments. |
|
public void |
cmd(groovy.lang.Closure<?> configurator)Configures the command along with its arguments. |
|
public CommandEntryPoint |
getCmd()Get direct access to the CommandEntryPoint instance. |
| Methods inherited from class | Name |
|---|---|
class AbstractExecTask |
entrypoint, entrypoint, exec, getEntrypoint, getNativeExecSpec, getProcess, getRunnerSpec, process, process, processOutput, runnerSpec, runnerSpec |
class GrolifantDefaultTask |
execTools, fsOperations, getGrolifantSecurePropertyService, jvmTools, problemReporter, projectTools, providerTools, stringTools |
Configures the command along with its arguments.
configurator - An action to configure the commandConfigures the command along with its arguments.
configurator - A closure to configure the commandGet direct access to the CommandEntryPoint instance.