Groovy Documentation

org.gradle.api
[Java] Interface DomainObjectCollection


public interface DomainObjectCollection
extends java.lang.Iterable

A DomainObjectCollection represents a read-only set of domain objects of type T.

You can use the methods of this interface to query the elements of the collection. You can also add actions which are executed as elements are added to this collection.

Parameters:
- The type of domain objects in this collection.


Method Summary
 
Methods inherited from interface java.lang.Iterable
java.lang.Iterable#iterator()
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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()
 

Groovy Documentation