public interface ConfigurableFileCollection extends FileCollection
A ConfigurableFileCollection
is a mutable FileCollection
.
You can obtain an instance of ConfigurableFileCollection
by calling Project.files(Object...)
FileCollection.AntType
Modifier and Type | Method and Description |
---|---|
ConfigurableFileCollection |
builtBy(Object... tasks)
Registers some tasks which build the files of this collection.
|
ConfigurableFileCollection |
from(Object... paths)
Adds a set of source paths to this collection.
|
Set<Object> |
getBuiltBy()
Returns the set of tasks which build the files of this collection.
|
Set<Object> |
getFrom()
Returns the set of source paths for this collection.
|
ConfigurableFileCollection |
setBuiltBy(Iterable<?> tasks)
Sets the tasks which build the files of this collection.
|
void |
setFrom(Iterable<?> paths)
Sets the source paths for this collection.
|
void |
setFrom(Object... paths)
Sets the source paths for this collection.
|
add, addToAntBuilder, addToAntBuilder, asType, contains, filter, filter, getAsFileTree, getAsPath, getFiles, getSingleFile, isEmpty, minus, plus, stopExecutionIfEmpty
getBuildDependencies
Set<Object> getFrom()
Project.files(Object...)
.void setFrom(Iterable<?> paths)
Project.files(Object...)
.paths
- The paths.void setFrom(Object... paths)
Project.files(Object...)
.paths
- The paths.ConfigurableFileCollection from(Object... paths)
Project.files(Object...)
.paths
- The files to add.Set<Object> getBuiltBy()
ConfigurableFileCollection setBuiltBy(Iterable<?> tasks)
tasks
- The tasks. These are evaluated as per Task.dependsOn(Object...)
.ConfigurableFileCollection builtBy(Object... tasks)
tasks
- The tasks. These are evaluated as per Task.dependsOn(Object...)
.