Groovy Documentation

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

org.gradle.api.NamedDomainObjectCollection
  org.gradle.api.NamedDomainObjectSet
      org.gradle.api.DomainObjectCollection
          org.gradle.api.publish.PublicationContainer
              java.lang.Iterable
                  java.util.Collection
All Superinterfaces:
NamedDomainObjectCollection, NamedDomainObjectSet, DomainObjectCollection, Iterable, Collection

@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 NamedDomainObjectCollection
add, addAll, addRule, addRule, findByName, getAsMap, getAt, getByName, getByName, getNamer, getRules, matching, matching, withType
 
Methods inherited from interface Set
add, equals, hashCode, clear, contains, isEmpty, size, toArray, toArray, addAll, iterator, remove, containsAll, removeAll, retainAll
 

Method Detail

getAt

public Publication getAt(String name)
{@inheritDoc}


getByName

public Publication getByName(String name)
{@inheritDoc}


 

Gradle API 1.4-rc-2