Groovy Documentation

org.gradle.api.publish
[Java] Interface PublicationContainer

org.gradle.api.NamedDomainObjectSet
  org.gradle.api.publish.PublicationContainer
      java.lang.Iterable
          org.gradle.api.DomainObjectCollection
              java.util.Collection
                  org.gradle.api.NamedDomainObjectCollection
All Superinterfaces:
NamedDomainObjectSet, Iterable, DomainObjectCollection, 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


Method Summary
Publication getAt(String name)

{@inheritDoc}

Publication getByName(String name)

{@inheritDoc}

 
Methods inherited from interface NamedDomainObjectSet
findAll, matching, matching, withType
 
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
 

Method Detail

getAt

public Publication getAt(String name)
{@inheritDoc}


getByName

public Publication getByName(String name)
{@inheritDoc}


 

Gradle API 1.4-rc-1