@Incubating public interface ArtifactView extends HasConfigurableAttributes<ArtifactView>
| Modifier and Type | Method and Description |
|---|---|
ArtifactView |
componentFilter(Spec<? super ComponentIdentifier> componentFilter)
Specify a filter for the components that should be included in this view.
|
ArtifactCollection |
getArtifacts()
Returns the collection of artifacts matching the requested attributes that are sourced from Components matching the specified filter.
|
FileCollection |
getFiles()
Returns the collection of artifact files matching the requested attributes that are sourced from Components matching the specified filter.
|
attributesgetAttributes@Incubating ArtifactView componentFilter(Spec<? super ComponentIdentifier> componentFilter)
getFiles() or getArtifacts().
This method cannot be called a multiple times for a view.@Incubating ArtifactCollection getArtifacts()
@Incubating FileCollection getFiles()