public interface ExecutableCommand<T extends ExecutableCommand<T>> extends Executable
Describes a command-based executable
| 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 |
|---|---|
interface Executable |
entrypoint, entrypoint, getEntrypoint, getProcess, getRunnerSpec, process, process, runnerSpec, runnerSpec |
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.