|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.jayasoft.ivy.DefaultDependencyDescriptor
This class can be used as the default implementation for DependencyDescriptor. It implements required methods and enables to fill dependency information with the addDependencyConfiguration method.
| Constructor Summary | |
DefaultDependencyDescriptor(DependencyDescriptor dd,
java.lang.String revision)
|
|
DefaultDependencyDescriptor(ModuleDescriptor md,
ModuleRevisionId mrid,
boolean force,
boolean changing,
boolean transitive)
|
|
DefaultDependencyDescriptor(ModuleRevisionId mrid,
boolean force)
|
|
DefaultDependencyDescriptor(ModuleRevisionId mrid,
boolean force,
boolean changing)
|
|
| Method Summary | |
void |
addDependencyArtifactExcludes(java.lang.String masterConf,
DependencyArtifactDescriptor dad)
|
void |
addDependencyArtifactIncludes(java.lang.String masterConf,
DependencyArtifactDescriptor dad)
|
void |
addDependencyConfiguration(java.lang.String masterConf,
java.lang.String depConf)
|
void |
addExtends(java.lang.String conf)
|
boolean |
canExclude()
Returns true if this descriptor contains any exclusion rule |
boolean |
doesExclude(java.lang.String[] moduleConfigurations,
ArtifactId artifactId)
only works when namespace is properly set. |
DependencyArtifactDescriptor[] |
getAllDependencyArtifactsExcludes()
|
DependencyArtifactDescriptor[] |
getAllDependencyArtifactsIncludes()
|
DependencyArtifactDescriptor[] |
getDependencyArtifactsExcludes(java.lang.String moduleConfiguration)
|
DependencyArtifactDescriptor[] |
getDependencyArtifactsExcludes(java.lang.String[] moduleConfigurations)
|
DependencyArtifactDescriptor[] |
getDependencyArtifactsIncludes(java.lang.String moduleConfiguration)
|
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()
|
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()
|
java.lang.String |
toString()
|
static DependencyDescriptor |
transformInstance(DependencyDescriptor dd,
Namespace ns)
Transforms the given dependency descriptor of the given namespace and return a new dependency descriptor in the system namespace. |
static DefaultDependencyDescriptor |
transformInstance(DependencyDescriptor dd,
NamespaceTransformer t)
Transforms a dependency descriptor using the given transformer. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DefaultDependencyDescriptor(DependencyDescriptor dd,
java.lang.String revision)
public DefaultDependencyDescriptor(ModuleDescriptor md,
ModuleRevisionId mrid,
boolean force,
boolean changing,
boolean transitive)
public DefaultDependencyDescriptor(ModuleRevisionId mrid,
boolean force)
public DefaultDependencyDescriptor(ModuleRevisionId mrid,
boolean force,
boolean changing)
| Method Detail |
public static DependencyDescriptor transformInstance(DependencyDescriptor dd,
Namespace ns)
ns -
public static DefaultDependencyDescriptor transformInstance(DependencyDescriptor dd,
NamespaceTransformer t)
dd - t -
public ModuleId getDependencyId()
getDependencyId in interface DependencyDescriptorpublic ModuleRevisionId getDependencyRevisionId()
getDependencyRevisionId in interface DependencyDescriptorpublic java.lang.String[] getModuleConfigurations()
getModuleConfigurations in interface DependencyDescriptorpublic java.lang.String[] getDependencyConfigurations(java.lang.String moduleConfiguration)
getDependencyConfigurations in interface DependencyDescriptorpublic java.lang.String[] getDependencyConfigurations(java.lang.String[] moduleConfigurations)
getDependencyConfigurations in interface DependencyDescriptorpublic DependencyArtifactDescriptor[] getDependencyArtifactsIncludes(java.lang.String moduleConfiguration)
getDependencyArtifactsIncludes in interface DependencyDescriptorpublic DependencyArtifactDescriptor[] getDependencyArtifactsExcludes(java.lang.String moduleConfiguration)
getDependencyArtifactsExcludes in interface DependencyDescriptorpublic DependencyArtifactDescriptor[] getDependencyArtifactsIncludes(java.lang.String[] moduleConfigurations)
getDependencyArtifactsIncludes in interface DependencyDescriptorpublic DependencyArtifactDescriptor[] getDependencyArtifactsExcludes(java.lang.String[] moduleConfigurations)
getDependencyArtifactsExcludes in interface DependencyDescriptorpublic DependencyArtifactDescriptor[] getAllDependencyArtifactsIncludes()
getAllDependencyArtifactsIncludes in interface DependencyDescriptorpublic DependencyArtifactDescriptor[] getAllDependencyArtifactsExcludes()
getAllDependencyArtifactsExcludes in interface DependencyDescriptor
public void addDependencyConfiguration(java.lang.String masterConf,
java.lang.String depConf)
public void addDependencyArtifactIncludes(java.lang.String masterConf,
DependencyArtifactDescriptor dad)
public void addDependencyArtifactExcludes(java.lang.String masterConf,
DependencyArtifactDescriptor dad)
public boolean doesExclude(java.lang.String[] moduleConfigurations,
ArtifactId artifactId)
doesExclude in interface DependencyDescriptorpublic boolean canExclude()
canExclude in interface DependencyDescriptorpublic void addExtends(java.lang.String conf)
public java.lang.String toString()
public boolean isForce()
DependencyDescriptor
isForce in interface DependencyDescriptorpublic ModuleRevisionId getParentRevisionId()
getParentRevisionId in interface DependencyDescriptorpublic boolean isChanging()
DependencyDescriptor
isChanging in interface DependencyDescriptorpublic boolean isTransitive()
isTransitive in interface DependencyDescriptorpublic Namespace getNamespace()
getNamespace in interface DependencyDescriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||