public class AbstractCommandExecSpec<T extends AbstractCommandExecSpec<T>> extends AbstractExecSpec implements ExecutableCommand
Basic building
| Modifiers | Name | Description |
|---|---|---|
static String |
COMMAND_BLOCK |
| Fields inherited from class | Fields |
|---|---|
class AbstractExecSpec |
appRunnerSpec |
| Constructor and description |
|---|
protected AbstractCommandExecSpec
(ProjectOperations po) |
protected AbstractCommandExecSpec
(ConfigCacheSafeOperations po)Constructs this from an instance of ConfigCacheSafeOperations. |
| Methods inherited from class | Name |
|---|---|
class AbstractExecSpec |
addCommandLineProcessor, copyTo, entrypoint, entrypoint, getCommandLineProcessors, getTaskOperations, process, process, runnerSpec, runnerSpec, submitAsExec |
Constructs this from an instance of ConfigCacheSafeOperations.
A task having GrolifantDefaultTask in its parent lineage, can just pass a this reference.
po - Instance of ConfigCacheSafeOperations.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