Package org.gradle.api.artifacts
Interface ResolvedArtifact
-
public interface ResolvedArtifactInformation about a resolved artifact.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetClassifier()java.lang.StringgetExtension()java.io.FilegetFile()Returns the local file for this artifact.ComponentArtifactIdentifiergetId()ResolvedModuleVersiongetModuleVersion()Returns the module which this artifact belongs to.java.lang.StringgetName()java.lang.StringgetType()
-
-
-
Method Detail
-
getFile
java.io.File getFile()
Returns the local file for this artifact. Downloads the artifact if not already available locally, blocking until complete.
-
getModuleVersion
ResolvedModuleVersion getModuleVersion()
Returns the module which this artifact belongs to.- Returns:
- The module.
-
getName
java.lang.String getName()
-
getType
java.lang.String getType()
-
getExtension
@Nullable java.lang.String getExtension()
-
getClassifier
@Nullable java.lang.String getClassifier()
-
getId
ComponentArtifactIdentifier getId()
-
-