fr.jayasoft.ivy
Interface DependencyDescriptor

All Known Implementing Classes:
DefaultDependencyDescriptor

public interface DependencyDescriptor

Author:
x.hanin

Method Summary
 boolean canExclude()
           
 boolean doesExclude(java.lang.String[] moduleConfigurations, ArtifactId artifactId)
           
 DependencyArtifactDescriptor[] getAllDependencyArtifactsExcludes()
           
 DependencyArtifactDescriptor[] getAllDependencyArtifactsIncludes()
           
 DependencyArtifactDescriptor[] getDependencyArtifactsExcludes(java.lang.String moduleConfigurations)
           
 DependencyArtifactDescriptor[] getDependencyArtifactsExcludes(java.lang.String[] moduleConfigurations)
           
 DependencyArtifactDescriptor[] getDependencyArtifactsIncludes(java.lang.String moduleConfigurations)
           
 DependencyArtifactDescriptor[] getDependencyArtifactsIncludes(java.lang.String[] moduleConfigurations)
           
 java.lang.String[] getDependencyConfigurations(java.lang.String moduleConfiguration)
           
 java.lang.String[] getDependencyConfigurations(java.lang.String[] moduleConfigurations)
           
 ModuleId getDependencyId()
           
 ModuleRevisionId getDependencyRevisionId()
           
 java.lang.String[] getModuleConfigurations()
           
 fr.jayasoft.ivy.namespace.Namespace getNamespace()
           
 ModuleRevisionId getParentRevisionId()
           
 boolean isChanging()
          Used to indicate that this dependency is a changing one.
 boolean isForce()
          Used to indicate that this revision must be used in case of conflicts, independently of conflicts manager.
 boolean isTransitive()
           
 

Method Detail

getDependencyId

ModuleId getDependencyId()

isForce

boolean isForce()
Used to indicate that this revision must be used in case of conflicts, independently of conflicts manager. This only works for direct dependencies, and not transitive ones.

Returns:
true if this dependency should be used, false if conflicts manager can do its work.

isChanging

boolean isChanging()
Used to indicate that this dependency is a changing one. A changing dependency in ivy means that the revision may have its artifacts modified without revision change. When new artifacts are published a new ivy file should also be published with a new publication date to indicate to ivy that artifacts have changed and that they should be downloaded again.

Returns:
true if this dependency is a changing one

isTransitive

boolean isTransitive()

getParentRevisionId

ModuleRevisionId getParentRevisionId()

getDependencyRevisionId

ModuleRevisionId getDependencyRevisionId()

getModuleConfigurations

java.lang.String[] getModuleConfigurations()

getDependencyConfigurations

java.lang.String[] getDependencyConfigurations(java.lang.String moduleConfiguration)

getDependencyConfigurations

java.lang.String[] getDependencyConfigurations(java.lang.String[] moduleConfigurations)

getNamespace

fr.jayasoft.ivy.namespace.Namespace getNamespace()

getAllDependencyArtifactsIncludes

DependencyArtifactDescriptor[] getAllDependencyArtifactsIncludes()

getDependencyArtifactsIncludes

DependencyArtifactDescriptor[] getDependencyArtifactsIncludes(java.lang.String moduleConfigurations)

getDependencyArtifactsIncludes

DependencyArtifactDescriptor[] getDependencyArtifactsIncludes(java.lang.String[] moduleConfigurations)

getAllDependencyArtifactsExcludes

DependencyArtifactDescriptor[] getAllDependencyArtifactsExcludes()

getDependencyArtifactsExcludes

DependencyArtifactDescriptor[] getDependencyArtifactsExcludes(java.lang.String moduleConfigurations)

getDependencyArtifactsExcludes

DependencyArtifactDescriptor[] getDependencyArtifactsExcludes(java.lang.String[] moduleConfigurations)

doesExclude

boolean doesExclude(java.lang.String[] moduleConfigurations,
                    ArtifactId artifactId)

canExclude

boolean canExclude()