Groovy Documentation

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

org.gradle.api.DomainObjectCollection
  org.gradle.api.NamedDomainObjectSet
      java.lang.Iterable
          java.util.Collection
              org.gradle.api.NamedDomainObjectCollection
                  org.gradle.api.publish.PublicationContainer
All Superinterfaces:
DomainObjectCollection, NamedDomainObjectSet, Iterable, 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, remove, equals, hashCode, clear, isEmpty, contains, size, toArray, toArray, addAll, iterator, 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