|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
java.lang.Iterableorg.gradle.api.DomainObjectCollection
org.gradle.api.DomainObjectSet
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 Set | |
---|---|
add, equals, hashCode, clear, contains, isEmpty, size, toArray, toArray, addAll, iterator, remove, containsAll, removeAll, retainAll |
Methods inherited from interface DomainObjectCollection | |
---|---|
all, all, findAll, matching, matching, whenObjectAdded, whenObjectAdded, whenObjectRemoved, whenObjectRemoved, withType, withType, withType |
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.12