public interface FileCollectionResolveContext
| Modifier and Type | Method and Description |
|---|---|
FileCollectionResolveContext |
add(Object element)
Adds the given element to be resolved.
|
ResolvableFileCollectionResolveContext |
newContext()
Creates a new context which can be used to resolve element.
|
FileCollectionResolveContext |
push(FileResolver fileResolver)
Adds a nested context which resolves elements using the given resolver.
|
FileCollectionResolveContext add(Object element)
Iterable - elements are recursively resolved.
Closure - return value is recursively resolved, if not null.
Callable - return value is recursively resolved, if not null.
FileCollection - resolved as is.
Task - resolved to task.outputs.files
MinimalFileSet - wrapped as a FileCollection.
MinimalFileTree - wrapped as a FileTree.
FileCollectionContainer - recursively resolved.
TaskDependency - resolved to an empty FileCollection which is builtBy the given dependency.
FileCollection.
FileCollection which contains the union of all files and dependencies add to this context.element - The element to add.FileCollectionResolveContext push(FileResolver fileResolver)
ResolvableFileCollectionResolveContext newContext()
ResolvableFileCollectionResolveContext.resolveAsFileCollections() or ResolvableFileCollectionResolveContext.resolveAsFileTrees().Copyright © 2013. All rights reserved