|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
org.gradle.api.DomainObjectSetjava.lang.Iterable
org.gradle.api.DomainObjectCollection
java.util.Collection
public interface DomainObjectSet extends DomainObjectCollection, Set
A DomainObjectSet is a specialisation of DomainObjectCollection that guarantees Set semantics.
- The type of domain objects in this set.| Method Summary | |
|---|---|
Set
|
findAll(Closure spec)
{@inheritDoc} |
DomainObjectSet
|
matching(Spec spec)
{@inheritDoc} |
DomainObjectSet
|
matching(Closure spec)
{@inheritDoc} |
DomainObjectSet
|
withType(Class type)
{@inheritDoc} |
| Methods inherited from interface DomainObjectCollection | |
|---|---|
| all, all, findAll, matching, matching, whenObjectAdded, whenObjectAdded, whenObjectRemoved, whenObjectRemoved, withType, withType, withType |
| Methods inherited from interface Set | |
|---|---|
| add, remove, equals, hashCode, clear, isEmpty, contains, size, toArray, toArray, addAll, iterator, containsAll, removeAll, retainAll |
| Method Detail |
|---|
public Set findAll(Closure spec)
public DomainObjectSet matching(Spec spec)
public DomainObjectSet matching(Closure spec)
public DomainObjectSet withType(Class type)
Gradle API 1.5