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 |
Configure this spec from a closure.
cfg
- Closure to use.