com.caucho.loader.module
Class ArtifactDependency

java.lang.Object
  extended by com.caucho.loader.module.ArtifactDependency

public class ArtifactDependency
extends java.lang.Object

A jar artifact in the repository


Constructor Summary
ArtifactDependency(java.lang.String org, java.lang.String module, java.lang.String name, ArtifactVersionRange version)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArtifactDependency

public ArtifactDependency(java.lang.String org,
                          java.lang.String module,
                          java.lang.String name,
                          ArtifactVersionRange version)
Method Detail

getOrg

public java.lang.String getOrg()
Returns the artifact's owning organization (groupId)


getName

public java.lang.String getName()
Returns the artifact's name


getVersion

public ArtifactVersionRange getVersion()
Returns the artifact's version


isSameArtifact

public boolean isSameArtifact(ArtifactDependency dependency)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object