public class AbstractCommandExecSpec extends AbstractExecSpec
Basic building
| Modifiers | Name | Description |
|---|---|---|
static String |
COMMAND_BLOCK |
| Fields inherited from class | Fields |
|---|---|
class AbstractExecSpec |
appRunnerSpec, projectOperations |
| Constructor and description |
|---|
protected AbstractCommandExecSpec
(org.ysb33r.grolifant.api.core.ProjectOperations po) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
cmd(Action<CommandEntryPoint> configurator)Configures the command along with its arguments. |
|
void |
cmd(groovy.lang.Closure<?> configurator)Configures the command along with its arguments. |
| Methods inherited from class | Name |
|---|---|
class AbstractExecSpec |
addCommandLineProcessor, copyTo, entrypoint, entrypoint, getCommandLineProcessors, 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 command