Package org.apache.ivy.core.resolve
Class IvyNodeEviction.EvictionData
- java.lang.Object
-
- org.apache.ivy.core.resolve.IvyNodeEviction.EvictionData
-
- Enclosing class:
- IvyNodeEviction
public static class IvyNodeEviction.EvictionData extends java.lang.Object
This class contains data about the eviction of anIvyNode
.
-
-
Constructor Summary
Constructors Constructor Description EvictionData(java.lang.String rootModuleConf, IvyNode parent, ConflictManager conflictManager, java.util.Collection<IvyNode> selected)
Creates a new object containing the eviction data of anIvyNode
.EvictionData(java.lang.String rootModuleConf, IvyNode parent, ConflictManager conflictManager, java.util.Collection<IvyNode> selected, java.lang.String detail)
Creates a new object containing the eviction data of anIvyNode
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConflictManager
getConflictManager()
java.lang.String
getDetail()
IvyNode
getParent()
java.lang.String
getRootModuleConf()
java.util.Collection<IvyNode>
getSelected()
boolean
isTransitivelyEvicted()
java.lang.String
toString()
-
-
-
Constructor Detail
-
EvictionData
public EvictionData(java.lang.String rootModuleConf, IvyNode parent, ConflictManager conflictManager, java.util.Collection<IvyNode> selected)
Creates a new object containing the eviction data of anIvyNode
.- Parameters:
rootModuleConf
- the root module configurationparent
- the parent node (or null in case of transitive eviction)conflictManager
- the conflict manager which evicted the node (or null in case of transitive eviction)selected
- a collection ofIvyNode
s which evict the evicted node (or null in case of transitive eviction)
-
EvictionData
public EvictionData(java.lang.String rootModuleConf, IvyNode parent, ConflictManager conflictManager, java.util.Collection<IvyNode> selected, java.lang.String detail)
Creates a new object containing the eviction data of anIvyNode
.- Parameters:
rootModuleConf
- the root module configurationparent
- the parent node (or null in case of transitive eviction)conflictManager
- the conflict manager which evicted the node (or null in case of transitive eviction)selected
- a collection ofIvyNode
s which evict the evicted node (or null in case of transitive eviction)detail
- a String detailing the reason why the node was evicted
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getConflictManager
public ConflictManager getConflictManager()
-
getParent
public IvyNode getParent()
-
getSelected
public java.util.Collection<IvyNode> getSelected()
-
getRootModuleConf
public java.lang.String getRootModuleConf()
-
isTransitivelyEvicted
public boolean isTransitivelyEvicted()
-
getDetail
public java.lang.String getDetail()
-
-