api / org.gradle.api.artifacts.result / ArtifactResult

ArtifactResult

@Incubating interface ArtifactResult

The result of resolving an artifact.

Since
2.0

Functions

getId

abstract fun getId(): ComponentArtifactIdentifier

Returns an identifier for this artifact.

getType

abstract fun getType(): Class<out Artifact>

Returns the type of this artifact.

Inheritors

ResolvedArtifactResult

interface ResolvedArtifactResult : ArtifactResult

The result of successfully resolving an artifact.

UnresolvedArtifactResult

interface UnresolvedArtifactResult : ArtifactResult

An artifact that could not be resolved.