public class UnionFileCollection extends CompositeFileCollection
FileCollection.AntType| Constructor and Description |
|---|
UnionFileCollection(FileCollection... source) |
UnionFileCollection(Iterable<? extends FileCollection> source) |
| Modifier and Type | Method and Description |
|---|---|
FileCollection |
add(FileCollection collection)
Adds another collection to this collection.
|
String |
getDisplayName()
Returns the display name of this file collection.
|
Set<FileCollection> |
getSources() |
void |
resolve(FileCollectionResolveContext context)
Adds the contents of this container to the given context.
|
addAsResourceCollection, addDependencies, contains, filter, getAsFileTree, getAsFileTrees, getBuildDependencies, getFiles, getSourceCollections, isEmptyaddAsFileSet, addAsMatchingTask, addToAntBuilder, addToAntBuilder, asType, filter, getAsPath, getCapDisplayName, getSingleFile, iterator, minus, plus, stopExecutionIfEmpty, toStringpublic UnionFileCollection(FileCollection... source)
public UnionFileCollection(Iterable<? extends FileCollection> source)
public String getDisplayName()
AbstractFileCollectiongetDisplayName in interface FileCollectionContainergetDisplayName in interface MinimalFileCollectiongetDisplayName in class AbstractFileCollectionpublic Set<FileCollection> getSources()
public FileCollection add(FileCollection collection) throws UnsupportedOperationException
FileCollectionAdds another collection to this collection. This is an optional operation.
add in interface FileCollectionadd in class AbstractFileCollectioncollection - The collection to add.UnsupportedOperationException - When this collection does not allow modification.public void resolve(FileCollectionResolveContext context)
FileCollectionContainerresolve in interface FileCollectionContainerresolve in class CompositeFileCollectionCopyright © 2013. All rights reserved