public class FileCollectionAdapter extends AbstractFileCollection implements FileCollectionContainer, Serializable
MinimalFileSet into a full FileCollection.FileCollection.AntType| Constructor and Description |
|---|
FileCollectionAdapter(MinimalFileSet fileSet) |
| Modifier and Type | Method and Description |
|---|---|
TaskDependency |
getBuildDependencies()
Returns a dependency which contains the tasks which build this artifact.
|
String |
getDisplayName()
Returns the display name of this file collection.
|
Set<File> |
getFiles()
Returns the contents of this collection as a Set.
|
void |
resolve(FileCollectionResolveContext context)
Adds the contents of this container to the given context.
|
add, addAsFileSet, addAsMatchingTask, addAsResourceCollection, addToAntBuilder, addToAntBuilder, asType, contains, filter, filter, getAsFileTree, getAsFileTrees, getAsPath, getCapDisplayName, getSingleFile, isEmpty, iterator, minus, plus, stopExecutionIfEmpty, toStringpublic FileCollectionAdapter(MinimalFileSet fileSet)
public String getDisplayName()
AbstractFileCollectiongetDisplayName in interface FileCollectionContainergetDisplayName in interface MinimalFileCollectiongetDisplayName in class AbstractFileCollectionpublic void resolve(FileCollectionResolveContext context)
FileCollectionContainerresolve in interface FileCollectionContainerpublic Set<File> getFiles()
FileCollectiongetFiles in interface FileCollectiongetFiles in interface MinimalFileSetpublic TaskDependency getBuildDependencies()
BuildableBuildable implementations
must ensure that the returned dependency object is live, so that it tracks changes to the dependencies of this
buildable.getBuildDependencies in interface BuildablegetBuildDependencies in class AbstractFileCollectionCopyright © 2013. All rights reserved