Class DependencyManagerUtils

java.lang.Object
org.eclipse.aether.util.graph.manager.DependencyManagerUtils

public final class DependencyManagerUtils extends Object
A utility class assisting in analyzing the effects of dependency management.
  • Field Details

  • Constructor Details

  • Method Details

    • getPremanagedVersion

      Gets the version or version range of the specified dependency node before dependency management was applied (if any).
      Parameters:
      node - The dependency node to retrieve the premanaged data for, must not be null.
      Returns:
      The node's dependency version before dependency management or null if the version was not managed or if CONFIG_PROP_VERBOSE was not enabled.
    • getPremanagedScope

      Gets the scope of the specified dependency node before dependency management was applied (if any).
      Parameters:
      node - The dependency node to retrieve the premanaged data for, must not be null.
      Returns:
      The node's dependency scope before dependency management or null if the scope was not managed or if CONFIG_PROP_VERBOSE was not enabled.
    • getPremanagedOptional

      Gets the optional flag of the specified dependency node before dependency management was applied (if any).
      Parameters:
      node - The dependency node to retrieve the premanaged data for, must not be null.
      Returns:
      The node's optional flag before dependency management or null if the flag was not managed or if CONFIG_PROP_VERBOSE was not enabled.
    • getPremanagedExclusions

      Gets the Exclusions of the specified dependency node before dependency management was applied (if any).
      Parameters:
      node - The dependency node to retrieve the premanaged data for, must not be null.
      Returns:
      The nodes' Exclusions before dependency management or null if exclusions were not managed or if CONFIG_PROP_VERBOSE was not enabled.
      Since:
      1.1.0
    • getPremanagedProperties

      Gets the properties of the specified dependency node before dependency management was applied (if any).
      Parameters:
      node - The dependency node to retrieve the premanaged data for, must not be null.
      Returns:
      The nodes' properties before dependency management or null if properties were not managed or if CONFIG_PROP_VERBOSE was not enabled.
      Since:
      1.1.0