|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectkotka.gradle.utils.ConfigureUtil
class ConfigureUtil
A utility class to help configuring objects.
| Method Summary | |
|---|---|
static java.lang.Object
|
configure(java.lang.Object target, groovy.lang.Closure configureFn = {})
Configures the |
| Methods inherited from class java.lang.Object | |
|---|---|
| java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
| Method Detail |
|---|
static java.lang.Object configure(java.lang.Object target, groovy.lang.Closure configureFn = {})
target object. It sets it as the delegate
of the configureFn closure and calls the latter. Passes
the target object also as first argument to the closure should it
support it.
target - the object to configureconfigureFn - a closure to be executed with target as delegatetarget
Groovy Documentation