@groovy.transform.CompileStatic class ClosureUtils extends Object
Methods for dealing with closures.
| Constructor and description |
|---|
ClosureUtils
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
static void |
configureItem(Object item, groovy.lang.Closure cfg)Configure this item using a closure |
Configure this item using a closure
item - Item to configurecfg - Configuration closure to use.