Package org.savantbuild.dep.domain
Class ResolvedArtifact
java.lang.Object
org.savantbuild.dep.domain.Artifact
org.savantbuild.dep.domain.ReifiedArtifact
org.savantbuild.dep.domain.ResolvedArtifact
This class defines a resolved artifact, which is an artifact after it has been downloaded as a dependency and is
fully resolved. This form of an artifact has a file (as a Path) to where the artifact is stored on the local disk.
-
Field Summary
FieldsFields inherited from class org.savantbuild.dep.domain.ReifiedArtifact
licensesFields inherited from class org.savantbuild.dep.domain.Artifact
exclusions, id, nonSemanticVersion, skipCompatibilityCheck, version -
Constructor Summary
ConstructorsConstructorDescriptionResolvedArtifact(ArtifactID id, org.savantbuild.domain.Version version, List<License> licenses, Path file, Path sourceFile) -
Method Summary
Methods inherited from class org.savantbuild.dep.domain.Artifact
getArtifactAlternativeSourceFile, getArtifactFile, getArtifactMetaDataFile, getArtifactNonSemanticAlternativeSourceFile, getArtifactNonSemanticFile, getArtifactNonSemanticPOMFile, getArtifactPOMFile, getArtifactSourceFile, getArtifactTestFile, getArtifactTestSourceFile, isIntegrationBuild, toString
-
Field Details
-
file
-
sourceFile
-
-
Constructor Details
-
ResolvedArtifact
public ResolvedArtifact(ArtifactID id, org.savantbuild.domain.Version version, List<License> licenses, Path file, Path sourceFile) -
ResolvedArtifact
-
-
Method Details
-
equals
- Overrides:
equalsin classReifiedArtifact
-
hashCode
public int hashCode()- Overrides:
hashCodein classReifiedArtifact
-
toArtifact
- Returns:
- This ResolvedArtifact as a Dependency. This is useful for comparing ResolvedArtifacts to
ReifiedArtifacts.
-