ResolvedArtifactResult (Gradle API 9.7.0)
Description: declaration: package: org.gradle.api.artifacts.result, interface: ResolvedArtifactResult

# Interface ResolvedArtifactResult

All Superinterfaces:
  `ArtifactResult`

public interface ResolvedArtifactResult extends ArtifactResult
The result of successfully resolving an artifact.

Since:
  2.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `AttributeContainer`
  `getAttributes()`
  The attributes that describe this artifact.
  `Collection<? extends Capability>`
  `getCapabilities()`
  The capabilities that describe this artifact.
  `File`
  `getFile()`
  The file for the artifact.
  `ResolvedVariantResult`
  `getVariant()`
  The variant that included this artifact.

  ### Methods inherited from interface ArtifactResult

  `getId, getType`

- ## Method Details

  - ### getFile

    File getFile()
    The file for the artifact.

  - ### getAttributes

    AttributeContainer getAttributes()
    The attributes that describe this artifact.
    Since:
      9.7.0

  - ### getCapabilities

    Collection<? extends Capability> getCapabilities()
    The capabilities that describe this artifact.
    Since:
      9.7.0

  - ### getVariant

    ResolvedVariantResult getVariant()
    The variant that included this artifact.

    Prefer `getAttributes()` and `getCapabilities()` instead. This method will be deprecated for removal in a future release.