|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.gradle.api.DomainObjectContainerorg.gradle.api.DomainObjectCollection
interface DomainObjectContainer extends DomainObjectCollection
A DomainObjectContainer represents a mutable collection of domain objects of type T.
Method Summary | |
---|---|
Rule
|
addRule(Rule rule)
Adds a rule to this container. |
List
|
getRules()
Returns the rules used by this container. |
Methods inherited from interface DomainObjectCollection | |
---|---|
allObjects, allObjects, findAll, findByName, getAll, getAsMap, getAt, getByName, getByName, matching, whenObjectAdded, whenObjectAdded, whenObjectRemoved, withType |
Methods inherited from interface java.lang.Iterable | |
---|---|
iterator |
Methods inherited from class java.lang.Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Method Detail |
---|
public Rule addRule(Rule rule)
public List getRules()
Groovy Documentation