|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.jayasoft.ivy.IvyNode
Nested Class Summary | |
class |
IvyNode.Caller
|
static class |
IvyNode.EvictionData
|
Constructor Summary | |
IvyNode(ResolveData data,
IvyNode parent,
DependencyDescriptor dd)
|
|
IvyNode(ResolveData data,
ModuleDescriptor md)
|
Method Summary | |
void |
addCaller(java.lang.String rootModuleConf,
IvyNode node,
java.lang.String callerConf,
java.lang.String[] dependencyConfs,
DependencyDescriptor dd)
|
void |
discardConf(java.lang.String conf)
|
void |
discardConf(java.lang.String rootModuleConf,
java.lang.String conf)
|
boolean |
equals(java.lang.Object obj)
|
IvyNode |
findNode(ModuleRevisionId mrid)
|
Artifact[] |
getAllArtifacts()
Returns all the artifacts of this dependency required in all the root module configurations |
IvyNode.Caller[] |
getAllCallers()
|
java.util.Collection |
getAllEvictingConflictManagers()
|
java.util.Collection |
getAllEvictingNodes()
Returns null if this node has only be evicted transitively, or the the colletion of selected nodes if it has been evicted by other selected nodes |
Artifact[] |
getArtifacts(java.lang.String rootModuleConf)
Returns the artifacts of this dependency required in the configurations themselves required in the given root module configuration |
IvyNode.Caller[] |
getCallers(java.lang.String rootModuleConf)
|
Configuration |
getConfiguration(java.lang.String conf)
|
java.lang.String[] |
getConfigurations(java.lang.String rootModuleConf)
Returns the configurations of the dependency required in a given root module configuration. |
ConflictManager |
getConflictManager(ModuleId mid)
|
java.lang.String[] |
getConfsToFetch()
|
java.util.Collection |
getDependencies(java.lang.String[] confs)
|
java.util.Collection |
getDependencies(java.lang.String conf,
boolean traverse)
|
DependencyDescriptor |
getDependencyDescriptor(IvyNode parent)
|
ModuleDescriptor |
getDescriptor()
|
java.lang.String[] |
getEvictedConfs()
|
IvyNode.EvictionData |
getEvictedData(java.lang.String rootModuleConf)
|
java.util.Collection |
getEvictedNodes(ModuleId mid,
java.lang.String rootModuleConf)
|
java.util.Collection |
getEvictedRevisions(ModuleId mid,
java.lang.String rootModuleConf)
|
IvyNode.EvictionData |
getEvictionDataInRoot(java.lang.String rootModuleConf,
IvyNode parent)
Returns the eviction data for this node if it has been previously evicted in the most far parent of the given node, null otherwise (if it hasn't been evicted in root) for the given rootModuleConf. |
ModuleRevisionId |
getId()
|
ModuleId |
getModuleId()
|
ResolvedModuleRevision |
getModuleRevision()
|
IvyNode |
getParent()
|
java.lang.String |
getParentConf()
|
java.util.Collection |
getPath()
|
java.lang.Exception |
getProblem()
|
long |
getPublication()
|
java.lang.String[] |
getRealConfs(java.lang.String conf)
|
IvyNode |
getRealNode()
|
java.lang.String[] |
getRequiredConfigurations()
returns all the current required configurations of the node |
java.lang.String[] |
getRequiredConfigurations(IvyNode in,
java.lang.String inConf)
returns the required configurations from the given node |
ModuleRevisionId |
getResolvedId()
|
java.util.Collection |
getResolvedNodes(ModuleId mid,
java.lang.String rootModuleConf)
|
java.util.Collection |
getResolvedRevisions(ModuleId mid,
java.lang.String rootModuleConf)
|
IvyNode |
getRoot()
|
static IvyNode |
getRoot(IvyNode parent)
|
java.lang.String |
getRootModuleConf()
|
java.lang.String[] |
getRootModuleConfigurations()
Returns the root module configurations in which this dependency is required |
Artifact[] |
getSelectedArtifacts(fr.jayasoft.ivy.filter.Filter artifactFilter)
Returns all the artifacts of this dependency required in the root module configurations in which the node is not evicted |
boolean |
hasConfigurationsToLoad()
|
int |
hashCode()
|
boolean |
hasProblem()
|
boolean |
isCircular()
Returns true if this node can already be found among its callers |
boolean |
isCompletelyEvicted()
|
boolean |
isDownloaded()
|
boolean |
isEvicted(java.lang.String rootModuleConf)
|
boolean |
isFetched(java.lang.String conf)
|
boolean |
isLoaded()
|
boolean |
isSearched()
|
boolean |
loadData(java.lang.String conf,
boolean shouldBePublic)
After the call node may be discarded. |
void |
markEvicted(IvyNode.EvictionData evictionData)
|
void |
markEvicted(java.lang.String rootModuleConf,
IvyNode node,
ConflictManager conflictManager,
java.util.Collection resolved)
|
void |
markSelected(java.lang.String rootModuleConf)
|
void |
setEvictedNodes(ModuleId moduleId,
java.lang.String rootModuleConf,
java.util.Collection evicted)
|
void |
setParent(IvyNode parent)
|
void |
setParentConf(java.lang.String parentConf)
|
void |
setResolvedNodes(ModuleId moduleId,
java.lang.String rootModuleConf,
java.util.Collection resolved)
|
void |
setRootModuleConf(java.lang.String rootModuleConf)
|
java.lang.String |
toString()
|
void |
updateConfsToFetch(java.util.Collection confs)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public IvyNode(ResolveData data, IvyNode parent, DependencyDescriptor dd)
public IvyNode(ResolveData data, ModuleDescriptor md)
Method Detail |
public ConflictManager getConflictManager(ModuleId mid)
public java.util.Collection getResolvedNodes(ModuleId mid, java.lang.String rootModuleConf)
public java.util.Collection getResolvedRevisions(ModuleId mid, java.lang.String rootModuleConf)
public void setResolvedNodes(ModuleId moduleId, java.lang.String rootModuleConf, java.util.Collection resolved)
public java.util.Collection getEvictedNodes(ModuleId mid, java.lang.String rootModuleConf)
public java.util.Collection getEvictedRevisions(ModuleId mid, java.lang.String rootModuleConf)
public void setEvictedNodes(ModuleId moduleId, java.lang.String rootModuleConf, java.util.Collection evicted)
public boolean isEvicted(java.lang.String rootModuleConf)
public void markSelected(java.lang.String rootModuleConf)
public void markEvicted(java.lang.String rootModuleConf, IvyNode node, ConflictManager conflictManager, java.util.Collection resolved)
public void markEvicted(IvyNode.EvictionData evictionData)
public IvyNode.EvictionData getEvictedData(java.lang.String rootModuleConf)
public java.lang.String[] getEvictedConfs()
public boolean isCompletelyEvicted()
public java.util.Collection getAllEvictingNodes()
public java.util.Collection getAllEvictingConflictManagers()
public IvyNode getParent()
public void setParent(IvyNode parent)
public IvyNode getRoot()
public java.util.Collection getPath()
public java.lang.String getParentConf()
public void setParentConf(java.lang.String parentConf)
public boolean hasConfigurationsToLoad()
public boolean loadData(java.lang.String conf, boolean shouldBePublic)
public IvyNode getRealNode()
public java.util.Collection getDependencies(java.lang.String[] confs)
public java.util.Collection getDependencies(java.lang.String conf, boolean traverse)
public ModuleRevisionId getId()
public void updateConfsToFetch(java.util.Collection confs)
public ModuleId getModuleId()
public boolean isLoaded()
public ModuleDescriptor getDescriptor()
public java.lang.String[] getRequiredConfigurations(IvyNode in, java.lang.String inConf)
in
-
public java.lang.String[] getRequiredConfigurations()
public Configuration getConfiguration(java.lang.String conf)
public ResolvedModuleRevision getModuleRevision()
public void addCaller(java.lang.String rootModuleConf, IvyNode node, java.lang.String callerConf, java.lang.String[] dependencyConfs, DependencyDescriptor dd)
rootModuleConf
- callerConf
- dependencyConfs
- '*' must have been resolveddd
- the dependency revision id asked by the callerpublic IvyNode.Caller[] getCallers(java.lang.String rootModuleConf)
public IvyNode.Caller[] getAllCallers()
public java.lang.String toString()
public boolean equals(java.lang.Object obj)
public int hashCode()
public java.lang.String[] getConfigurations(java.lang.String rootModuleConf)
rootModuleConf
-
public void discardConf(java.lang.String conf)
public void discardConf(java.lang.String rootModuleConf, java.lang.String conf)
public java.lang.String[] getRootModuleConfigurations()
public Artifact[] getAllArtifacts()
public Artifact[] getSelectedArtifacts(fr.jayasoft.ivy.filter.Filter artifactFilter)
artifactFilter
-
public Artifact[] getArtifacts(java.lang.String rootModuleConf)
rootModuleConf
-
public long getPublication()
public DependencyDescriptor getDependencyDescriptor(IvyNode parent)
public boolean hasProblem()
public ModuleRevisionId getResolvedId()
public java.lang.Exception getProblem()
public boolean isDownloaded()
public boolean isSearched()
public java.lang.String getRootModuleConf()
public void setRootModuleConf(java.lang.String rootModuleConf)
public java.lang.String[] getConfsToFetch()
public boolean isCircular()
public boolean isFetched(java.lang.String conf)
public IvyNode.EvictionData getEvictionDataInRoot(java.lang.String rootModuleConf, IvyNode parent)
rootModuleConf
- parent
-
public static IvyNode getRoot(IvyNode parent)
public IvyNode findNode(ModuleRevisionId mrid)
public java.lang.String[] getRealConfs(java.lang.String conf)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |