Class IvyNodeEviction.EvictionData

  • Enclosing class:
    IvyNodeEviction

    public static class IvyNodeEviction.EvictionData
    extends java.lang.Object
    This class contains data about the eviction of an IvyNode.
    • 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 an IvyNode.
        Parameters:
        rootModuleConf - the root module configuration
        parent - 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 of IvyNodes 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 an IvyNode.
        Parameters:
        rootModuleConf - the root module configuration
        parent - 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 of IvyNodes 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 class java.lang.Object
      • 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()