public class ArtifactDependency
extends java.lang.Object
Constructor and Description |
---|
ArtifactDependency(java.lang.String org,
java.lang.String module,
java.lang.String name,
ArtifactVersionRange version) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the artifact's name
|
java.lang.String |
getOrg()
Returns the artifact's owning organization (groupId)
|
ArtifactVersionRange |
getVersion()
Returns the artifact's version
|
boolean |
isSameArtifact(ArtifactDependency dependency) |
java.lang.String |
toString() |
public ArtifactDependency(java.lang.String org, java.lang.String module, java.lang.String name, ArtifactVersionRange version)
public java.lang.String getOrg()
public java.lang.String getName()
public ArtifactVersionRange getVersion()
public boolean isSameArtifact(ArtifactDependency dependency)
public java.lang.String toString()
toString
in class java.lang.Object