|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ivy.core.resolve.IvyNodeUsage
public class IvyNodeUsage
Class collecting usage data for an IvyNode.
Usage data contains the configurations required by callers for each root module configuration, the configurations required by caller node and caller configuration, dependency artifacts descriptors declared by callers, include rules declared by callers, and blacklisted data by root module conf.
Constructor Summary | |
---|---|
IvyNodeUsage(IvyNode node)
|
Method Summary | |
---|---|
protected java.util.Set |
addAndGetConfigurations(java.lang.String rootModuleConf)
|
void |
addUsage(java.lang.String rootModuleConf,
DependencyDescriptor dd,
java.lang.String parentConf)
|
protected void |
blacklist(IvyNodeBlacklist bdata)
|
protected IvyNodeBlacklist |
getBlacklistData(java.lang.String rootModuleConf)
Returns the blacklist data of this node in the given root module conf, or null
if this node is not blacklisted in this root module conf. |
protected java.util.Set |
getConfigurations(java.lang.String rootModuleConf)
Returns the configurations of the dependency required in a given root module configuration. |
protected java.util.Set |
getDependencyArtifactsSet(java.lang.String rootModuleConf)
|
protected java.util.Set |
getDependencyIncludesSet(java.lang.String rootModuleConf)
|
protected IvyNode |
getNode()
|
protected java.util.Collection |
getRequiredConfigurations(IvyNode in,
java.lang.String inConf)
|
protected java.util.Set |
getRootModuleConfigurations()
|
boolean |
hasTransitiveDepender(java.lang.String rootModuleConf)
Indicates if at least one depender has a transitive dependency descriptor for the given root module conf. |
protected boolean |
isBlacklisted(java.lang.String rootModuleConf)
Indicates if this node has been blacklisted in the given root module conf. |
protected void |
removeRootModuleConf(java.lang.String rootModuleConf)
|
protected void |
setRequiredConfs(IvyNode parent,
java.lang.String parentConf,
java.util.Collection confs)
|
void |
updateDataFrom(java.util.Collection usages,
java.lang.String rootModuleConf)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IvyNodeUsage(IvyNode node)
Method Detail |
---|
protected java.util.Collection getRequiredConfigurations(IvyNode in, java.lang.String inConf)
protected void setRequiredConfs(IvyNode parent, java.lang.String parentConf, java.util.Collection confs)
protected java.util.Set getConfigurations(java.lang.String rootModuleConf)
rootModuleConf
-
protected java.util.Set addAndGetConfigurations(java.lang.String rootModuleConf)
protected java.util.Set getRootModuleConfigurations()
public void updateDataFrom(java.util.Collection usages, java.lang.String rootModuleConf)
public void addUsage(java.lang.String rootModuleConf, DependencyDescriptor dd, java.lang.String parentConf)
protected java.util.Set getDependencyArtifactsSet(java.lang.String rootModuleConf)
protected java.util.Set getDependencyIncludesSet(java.lang.String rootModuleConf)
protected void removeRootModuleConf(java.lang.String rootModuleConf)
protected void blacklist(IvyNodeBlacklist bdata)
protected boolean isBlacklisted(java.lang.String rootModuleConf)
A blacklisted node should be considered as if it doesn't even exist on the repository.
rootModuleConf
- the root module conf for which we'd like to know if the node is blacklisted
#blacklist(String)
protected IvyNodeBlacklist getBlacklistData(java.lang.String rootModuleConf)
null
if this node is not blacklisted in this root module conf.
rootModuleConf
- the root module configuration to consider
protected IvyNode getNode()
public boolean hasTransitiveDepender(java.lang.String rootModuleConf)
rootModuleConf
- the root module conf to consider
true
if at least one depender has a transitive dependency descriptor for
the given root module conf, false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |