org.apache.ivy.core.resolve
public class VisitNode extends Object
| Constructor Summary | |
|---|---|
| VisitNode(ResolveData data, IvyNode node, VisitNode parent, String rootModuleConf, String parentConf) | |
| VisitNode(ResolveData data, IvyNode node, VisitNode parent, String rootModuleConf, String parentConf, IvyNodeUsage usage) | |
| Method Summary | |
|---|---|
| Configuration | getConfiguration(String conf) |
| String[] | getConfsToFetch() |
| Collection | getDependencies(String conf) |
| DependencyDescriptor | getDependencyDescriptor() |
| ModuleDescriptor | getDescriptor() |
| IvyNodeEviction.EvictionData | getEvictedData() |
| Collection | getEvictedRevisions(ModuleId moduleId) |
| IvyNodeEviction.EvictionData | getEvictionDataInRoot(String rootModuleConf, VisitNode ancestor) |
| ModuleRevisionId | getId() |
| ModuleId | getModuleId() |
| IvyNode | getNode() |
| VisitNode | getParent() |
| String | getParentConf() |
| Collection | getPath() |
| String[] | getRealConfs(String conf) |
| IvyNode | getRealNode()
Returns the 'real' node currently visited. |
| String | getRequestedConf() |
| String[] | getRequiredConfigurations(VisitNode in, String inConf) |
| String[] | getRequiredConfigurations() |
| ModuleRevisionId | getResolvedId() |
| Collection | getResolvedRevisions(ModuleId mid) |
| VisitNode | getRoot() |
| static VisitNode | getRoot(VisitNode parent) |
| String | getRootModuleConf() |
| boolean | hasProblem() |
| boolean | isCircular()
Returns true if this node can already be found in the path
|
| boolean | isConfRequiredByMergedUsageOnly(String conf) |
| boolean | isEvicted() |
| protected boolean | isParentConfTransitive()
Checks if the current node's parent configuration is transitive.
|
| boolean | isTransitive()
Returns true if the current dependency descriptor is transitive and the parent configuration
is transitive. |
| boolean | loadData(String conf, boolean shouldBePublic) |
| void | markEvicted(IvyNodeEviction.EvictionData evictionData) |
| void | markEvicted(VisitNode parent, ConflictManager conflictMgr, Collection selected)
Marks the current node as evicted by the the given selected IvyNodes, in the given parent and
root module configuration, with the given ConflictManager
|
| void | setParentConf(String parentConf) |
| void | setRequestedConf(String requestedConf) |
| String | toString() |
| void | updateConfsToFetch(Collection confs) |
| void | useRealNode()
Ask to the current visited node to use a real node only, if one exist. |
Returns: the 'real' node currently visited.
Returns: Returns the configuration requested by the parent
Returns:
Parameters: node current node
Returns: true if the node's parent configuration is transitive
Returns: true if current node is transitive and the parent configuration is transitive.
Parameters: parent the VisitNode in which eviction has been made conflictMgr the conflict manager responsible for the eviction selected a Collection of IvyNode which have been selected