org.gradle.api.publish
[Java] Interface PublicationContainer
org.gradle.api.DomainObjectCollection
java.lang.Iterable
org.gradle.api.publish.PublicationContainer
org.gradle.api.NamedDomainObjectSet
java.util.Collection
org.gradle.api.NamedDomainObjectCollection
- All Superinterfaces:
- DomainObjectCollection, Iterable, NamedDomainObjectSet, Collection, NamedDomainObjectCollection
@Incubating
public interface PublicationContainer
extends NamedDomainObjectSet
A PublicationContainer is responsible for declaring and managing publications.
Publications cannot be added to a publication container by users at this time. Publication plugins
are responsible for creating Publication instances in the container.
See the documentation for the Ivy Publishing plugin for more information.
- See Also:
- Publication
- Since:
- 1.3
Methods inherited from interface Set
|
add, equals, hashCode, clear, contains, isEmpty, size, toArray, toArray, addAll, iterator, remove, containsAll, removeAll, retainAll |
Methods inherited from interface NamedDomainObjectCollection
|
add, addAll, addRule, addRule, findByName, getAsMap, getAt, getByName, getByName, getNamer, getRules, matching, matching, withType |
Methods inherited from interface DomainObjectCollection
|
all, all, findAll, matching, matching, whenObjectAdded, whenObjectAdded, whenObjectRemoved, whenObjectRemoved, withType, withType, withType |
getAt
public Publication getAt(String name)
- {@inheritDoc}
getByName
public Publication getByName(String name)
- {@inheritDoc}
Gradle API 1.4-rc-3