public class ArtifactDistribution extends java.lang.Object implements Distribution, CategorizedNameVersion
Distribution
based on an Aether Artifact
Constructor and Description |
---|
ArtifactDistribution(org.eclipse.aether.artifact.Artifact artifact) |
ArtifactDistribution(java.lang.String coords) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
org.eclipse.aether.artifact.Artifact |
getArtifact() |
java.lang.String |
getCategory()
The category of the component.
|
java.lang.String |
getDistributionId()
Aether coordinates of the underlying artifact.
|
java.lang.String |
getName()
The name of the component.
|
java.lang.String |
getVersion()
The version of the component.
|
int |
hashCode() |
java.lang.String |
toString() |
public ArtifactDistribution(org.eclipse.aether.artifact.Artifact artifact)
public ArtifactDistribution(java.lang.String coords)
public java.lang.String getDistributionId()
getDistributionId
in interface Distribution
public org.eclipse.aether.artifact.Artifact getArtifact()
public java.lang.String getName()
NameVersion
getName
in interface NameVersion
public java.lang.String getVersion()
NameVersion
getVersion
in interface NameVersion
public java.lang.String getCategory()
CategorizedNameVersion
getCategory
in interface CategorizedNameVersion
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007–2020. All rights reserved.