Class ConflictMarker

java.lang.Object
org.eclipse.aether.util.graph.transformer.ConflictMarker
All Implemented Interfaces:
org.eclipse.aether.collection.DependencyGraphTransformer

public final class ConflictMarker extends Object implements org.eclipse.aether.collection.DependencyGraphTransformer
A dependency graph transformer that identifies conflicting dependencies. When this transformer has executed, the transformation context holds a Map<DependencyNode, Object> where dependency nodes that belong to the same conflict group will have an equal conflict identifier. This map is stored using the key TransformationContextKeys.CONFLICT_IDS.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.aether.graph.DependencyNode
    transformGraph(org.eclipse.aether.graph.DependencyNode node, org.eclipse.aether.collection.DependencyGraphTransformationContext context)
    After the execution of this method, every DependencyNode with an attached dependency is member of one conflict group.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • transformGraph

      public org.eclipse.aether.graph.DependencyNode transformGraph(org.eclipse.aether.graph.DependencyNode node, org.eclipse.aether.collection.DependencyGraphTransformationContext context) throws org.eclipse.aether.RepositoryException
      After the execution of this method, every DependencyNode with an attached dependency is member of one conflict group.
      Specified by:
      transformGraph in interface org.eclipse.aether.collection.DependencyGraphTransformer
      Throws:
      org.eclipse.aether.RepositoryException
      See Also:
      • DependencyGraphTransformer.transformGraph(DependencyNode, DependencyGraphTransformationContext)