Adds configurability via Closure.
Type Params | Return Type | Name and description |
---|---|---|
|
ToolExecSpec |
configure(groovy.lang.Closure cfg) Configure this spec from a closure. |
Methods inherited from class | Name |
---|---|
interface ToolExecSpec |
configure |
interface CopyExecSpec |
copyToExecSpec |
interface MutableToolExecSpec |
exeArgs, exeArgs, executable, executable, getExeArgs, getResolvableExecutable, setExeArgs, setExecutable, setExecutable, setExecutable |
interface MutableBaseExecSpec |
errorOutput, ignoreExitValue, setWorkingDir, standardInput, standardOutput |
interface BaseExecSpec |
setStandardOutput, setErrorOutput, setIgnoreExitValue, isIgnoreExitValue, getStandardInput, setStandardInput, getStandardOutput, getErrorOutput, getCommandLine, setWorkingDir, setWorkingDir, workingDir, setEnvironment, getEnvironment, getWorkingDir, getExecutable, copyTo, executable, setExecutable, setExecutable, environment, environment |
Configure this spec from a closure.
cfg
- Closure to use.