abstract fun getAt(name: String): T
Locates an object by name, failing if there is no such task. This method is identical to
. You can call this method in your build script by using the groovy []
operator.
UnknownDomainObjectException
- when there is no such object in this collection.
Return
The object with the given name. Never returns null.