com.caucho.loader.ivy
Class IvyDependency

java.lang.Object
  extended by com.caucho.loader.ivy.IvyDependency
Direct Known Subclasses:
IvyMergeDependency

public class IvyDependency
extends java.lang.Object

IvyDependency configuration


Constructor Summary
IvyDependency()
           
 
Method Summary
 void addBuilderProgram(ConfigProgram program)
          Ignore unknown properties
 boolean equals(java.lang.Object o)
           
 java.lang.String getArtifact()
          The artifact name
 java.lang.String getName()
          The name of the module
 java.lang.String getOrg()
          The owning organization
 java.lang.String getRev()
          The version of the artifact
 int hashCode()
           
 boolean isMatch(IvyDependency dep)
           
 IvyDependency merge(IvyDependency dep)
           
 Path resolve(IvyCache cache)
           
 void setArtifact(java.lang.String artifact)
          The artifact name
 void setName(java.lang.String name)
          The name of the module
 void setOrg(java.lang.String org)
          The owning organization
 void setRev(java.lang.String rev)
          The version of the artifact
 void setVersions(java.lang.String[] versions)
          Sets the versions
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IvyDependency

public IvyDependency()
Method Detail

setArtifact

public void setArtifact(java.lang.String artifact)
The artifact name


getArtifact

public java.lang.String getArtifact()
The artifact name


setOrg

public void setOrg(java.lang.String org)
The owning organization


getOrg

public java.lang.String getOrg()
The owning organization


setName

public void setName(java.lang.String name)
The name of the module


getName

public java.lang.String getName()
The name of the module


setRev

public void setRev(java.lang.String rev)
The version of the artifact


getRev

public java.lang.String getRev()
The version of the artifact


setVersions

public void setVersions(java.lang.String[] versions)
Sets the versions


addBuilderProgram

public void addBuilderProgram(ConfigProgram program)
Ignore unknown properties


isMatch

public boolean isMatch(IvyDependency dep)

resolve

public Path resolve(IvyCache cache)

merge

public IvyDependency merge(IvyDependency dep)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

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