org.apache.ivy.core.resolve
public class IvyNodeEviction extends Object
Nested Class Summary | |
---|---|
static class | IvyNodeEviction.EvictionData
This class contains data about the eviction of an IvyNode. |
Constructor Summary | |
---|---|
IvyNodeEviction(IvyNode node) |
Method Summary | |
---|---|
Collection | getAllEvictingConflictManagers() |
Collection | getAllEvictingNodes()
Returns null if this node has only be evicted transitively, or the the collection of selected
nodes if it has been evicted by other selected nodes
|
Collection | getAllEvictingNodesDetails() |
String[] | getEvictedConfs() |
IvyNodeEviction.EvictionData | getEvictedData(String rootModuleConf) |
Collection | getEvictedNodes(ModuleId mid, String rootModuleConf) |
Collection | getEvictedRevisions(ModuleId mid, String rootModuleConf) |
IvyNodeEviction.EvictionData | getEvictionDataInRoot(String rootModuleConf, IvyNode ancestor)
Returns the eviction data for this node if it has been previously evicted in the root, null
otherwise (if it hasn't been evicted in root) for the given rootModuleConf. |
Collection | getPendingConflicts(String rootModuleConf, ModuleId mid) |
Set | getResolvedNodes(ModuleId mid, String rootModuleConf) |
Collection | getResolvedRevisions(ModuleId mid, String rootModuleConf) |
boolean | isCompletelyEvicted() |
boolean | isEvicted(String rootModuleConf) |
void | markEvicted(IvyNodeEviction.EvictionData evictionData) |
void | setEvictedNodes(ModuleId moduleId, String rootModuleConf, Collection evicted) |
void | setPendingConflicts(ModuleId moduleId, String rootModuleConf, Collection conflicts) |
void | setResolvedNodes(ModuleId moduleId, String rootModuleConf, Collection resolved) |
Returns:
Parameters: rootModuleConf ancestor
Returns:
Returns: A copy of the set of resolved nodes (real nodes)