ArtifactView (Gradle API 4.4)
Date: 2017-12-06

org.gradle.api.artifacts

## Interface ArtifactView

- All Superinterfaces:
    HasAttributes
  All Known Subinterfaces:
    ResolvableDependencies

      @Incubating
      public interface ArtifactView
      extends HasAttributes

  A view over the artifacts resolved for this set of dependencies. By default, the view returns all files and artifacts, but this can be restricted by component identifier or by attributes.
  Since:
    3.4

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `ArtifactView.ViewConfiguration` Configuration for a defined artifact view.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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.

    - ### Methods inherited from interface org.gradle.api.attributes.HasAttributes

      `getAttributes`

- - ### Method Detail

    - #### getArtifacts

          ArtifactCollection getArtifacts()

      Returns the collection of artifacts matching the requested attributes that are sourced from Components matching the specified filter.

    - #### getFiles

          FileCollection getFiles()

      Returns the collection of artifact files matching the requested attributes that are sourced from Components matching the specified filter.