|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The type of domain objects in this container.public interface NamedDomainObjectContainer<T>
A DomainObjectContainer
represents a mutable collection of domain objects of type T
.
Method Summary | |
---|---|
Rule |
addRule(Rule rule)
Adds a rule to this container. |
Rule |
addRule(String description,
Closure ruleAction)
Adds a rule to this container. |
List<Rule> |
getRules()
Returns the rules used by this container. |
Methods inherited from interface org.gradle.api.NamedDomainObjectCollection |
---|
findByName, getAsMap, getAt, getByName, getByName, matching, matching, withType |
Methods inherited from interface org.gradle.api.DomainObjectCollection |
---|
all, all, allObjects, allObjects, findAll, getAll, whenObjectAdded, whenObjectAdded, whenObjectRemoved, withType, withType |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
Rule addRule(Rule rule)
rule
- The rule to add.
Rule addRule(String description, Closure ruleAction)
description
- The description of the rule.ruleAction
- The closure to execute to apply the rule.
List<Rule> getRules()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |