|
|||||||||
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()
|
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()
|
java.lang.String |
toString()
|
static DependencyDescriptor |
transformInstance(DependencyDescriptor dd,
fr.jayasoft.ivy.namespace.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,
fr.jayasoft.ivy.namespace.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, fr.jayasoft.ivy.namespace.Namespace ns)
ns
-
public static DefaultDependencyDescriptor transformInstance(DependencyDescriptor dd, fr.jayasoft.ivy.namespace.NamespaceTransformer t)
dd
- t
-
public ModuleId getDependencyId()
getDependencyId
in interface DependencyDescriptor
public ModuleRevisionId getDependencyRevisionId()
getDependencyRevisionId
in interface DependencyDescriptor
public java.lang.String[] getModuleConfigurations()
getModuleConfigurations
in interface DependencyDescriptor
public java.lang.String[] getDependencyConfigurations(java.lang.String moduleConfiguration)
getDependencyConfigurations
in interface DependencyDescriptor
public java.lang.String[] getDependencyConfigurations(java.lang.String[] moduleConfigurations)
getDependencyConfigurations
in interface DependencyDescriptor
public DependencyArtifactDescriptor[] getDependencyArtifactsIncludes(java.lang.String moduleConfiguration)
getDependencyArtifactsIncludes
in interface DependencyDescriptor
public DependencyArtifactDescriptor[] getDependencyArtifactsExcludes(java.lang.String moduleConfiguration)
getDependencyArtifactsExcludes
in interface DependencyDescriptor
public DependencyArtifactDescriptor[] getDependencyArtifactsIncludes(java.lang.String[] moduleConfigurations)
getDependencyArtifactsIncludes
in interface DependencyDescriptor
public DependencyArtifactDescriptor[] getDependencyArtifactsExcludes(java.lang.String[] moduleConfigurations)
getDependencyArtifactsExcludes
in interface DependencyDescriptor
public DependencyArtifactDescriptor[] getAllDependencyArtifactsIncludes()
getAllDependencyArtifactsIncludes
in interface DependencyDescriptor
public 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 DependencyDescriptor
public boolean canExclude()
canExclude
in interface DependencyDescriptor
public void addExtends(java.lang.String conf)
public java.lang.String toString()
public boolean isForce()
DependencyDescriptor
isForce
in interface DependencyDescriptor
public ModuleRevisionId getParentRevisionId()
getParentRevisionId
in interface DependencyDescriptor
public boolean isChanging()
DependencyDescriptor
isChanging
in interface DependencyDescriptor
public boolean isTransitive()
isTransitive
in interface DependencyDescriptor
public fr.jayasoft.ivy.namespace.Namespace getNamespace()
getNamespace
in interface DependencyDescriptor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |