public class UnionFileTree extends CompositeFileTree
FileCollection.AntType| Constructor and Description |
|---|
UnionFileTree(FileTree... sourceTrees) |
UnionFileTree(String displayName,
Collection<? extends FileTree> sourceTrees) |
UnionFileTree(String displayName,
FileTree... sourceTrees) |
| Modifier and Type | Method and Description |
|---|---|
UnionFileTree |
add(FileCollection source)
Adds another collection to this collection.
|
String |
getDisplayName()
Returns the display name of this file collection.
|
void |
resolve(FileCollectionResolveContext context)
Adds the contents of this container to the given context.
|
getAsFileTree, getSourceCollections, matching, matching, plus, visit, visitaddAsResourceCollection, addDependencies, contains, filter, getAsFileTrees, getBuildDependencies, getFiles, isEmptyaddAsFileSet, addAsMatchingTask, addToAntBuilder, addToAntBuilder, asType, filter, getAsPath, getCapDisplayName, getSingleFile, iterator, minus, plus, stopExecutionIfEmpty, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddToAntBuilder, addToAntBuilder, asType, contains, filter, filter, getAsPath, getFiles, getSingleFile, isEmpty, minus, plus, stopExecutionIfEmptygetBuildDependenciespublic UnionFileTree(FileTree... sourceTrees)
public UnionFileTree(String displayName, Collection<? extends FileTree> sourceTrees)
public String getDisplayName()
AbstractFileCollectiongetDisplayName in interface FileCollectionContainergetDisplayName in interface MinimalFileCollectiongetDisplayName in class AbstractFileCollectionpublic void resolve(FileCollectionResolveContext context)
FileCollectionContainerresolve in interface FileCollectionContainerresolve in class CompositeFileCollectionpublic UnionFileTree add(FileCollection source)
FileCollectionAdds another collection to this collection. This is an optional operation.
add in interface FileCollectionadd in class AbstractFileCollectionsource - The collection to add.Copyright © 2013. All rights reserved