|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
org.gradle.api.file.FileCollectionorg.gradle.api.file.ConfigurableFileCollection
org.gradle.api.Buildable
org.gradle.api.tasks.AntBuilderAware
public interface ConfigurableFileCollection extends FileCollection
A ConfigurableFileCollection is a mutable FileCollection.
You can obtain an instance of ConfigurableFileCollection by calling Project.files
| Method Summary | |
|---|---|
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
|
getBuiltBy()
Returns the set of tasks which build the files of this collection. |
Set
|
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. |
| Methods inherited from interface FileCollection | |
|---|---|
| add, addToAntBuilder, addToAntBuilder, asType, contains, filter, filter, getAsFileTree, getAsPath, getFiles, getSingleFile, isEmpty, minus, plus, stopExecutionIfEmpty |
| Methods inherited from interface Iterable | |
|---|---|
| iterator |
| Methods inherited from interface Buildable | |
|---|---|
| getBuildDependencies |
| Methods inherited from interface AntBuilderAware | |
|---|---|
| addToAntBuilder |
| Method Detail |
|---|
public ConfigurableFileCollection builtBy(Object... tasks)
tasks - The tasks. These are evaluated as per Task.dependsOn.
public ConfigurableFileCollection from(Object... paths)
paths - The files to add.
public Set getBuiltBy()
public Set getFrom()
public ConfigurableFileCollection setBuiltBy(Iterable tasks)
tasks - The tasks. These are evaluated as per Task.dependsOn.
public void setFrom(Iterable paths)
paths - The paths.
public void setFrom(Object... paths)
paths - The paths.
Gradle API 1.5