public final class DependencyManagerUtils extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static String | CONFIG_PROP_VERBOSEThe key in the repository session's  configuration
 propertiesused to store aBooleanflag controlling the verbose mode for dependency management. | 
| static String | NODE_DATA_PREMANAGED_EXCLUSIONSThe key in the dependency node's  custom dataunder which the original exclusions
 are stored. | 
| static String | NODE_DATA_PREMANAGED_OPTIONALThe key in the dependency node's  custom dataunder which the original optional
 flag is stored. | 
| static String | NODE_DATA_PREMANAGED_PROPERTIESThe key in the dependency node's  custom dataunder which the original properties
 are stored. | 
| static String | NODE_DATA_PREMANAGED_SCOPEThe key in the dependency node's  custom dataunder which the original scope is
 stored. | 
| static String | NODE_DATA_PREMANAGED_VERSIONThe key in the dependency node's  custom dataunder which the original version is
 stored. | 
| Constructor and Description | 
|---|
| DependencyManagerUtils() | 
| Modifier and Type | Method and Description | 
|---|---|
| static Collection<org.eclipse.aether.graph.Exclusion> | getPremanagedExclusions(org.eclipse.aether.graph.DependencyNode node)Gets the  Exclusions of the specified dependency node before dependency management was applied (if any). | 
| static Boolean | getPremanagedOptional(org.eclipse.aether.graph.DependencyNode node)Gets the optional flag of the specified dependency node before dependency management was applied (if any). | 
| static Map<String,String> | getPremanagedProperties(org.eclipse.aether.graph.DependencyNode node)Gets the properties of the specified dependency node before dependency management was applied (if any). | 
| static String | getPremanagedScope(org.eclipse.aether.graph.DependencyNode node)Gets the scope of the specified dependency node before dependency management was applied (if any). | 
| static String | getPremanagedVersion(org.eclipse.aether.graph.DependencyNode node)Gets the version or version range of the specified dependency node before dependency management was applied (if
 any). | 
public static final String CONFIG_PROP_VERBOSE
configuration
 properties used to store a Boolean flag controlling the verbose mode for dependency management. If
 enabled, the original attributes of a dependency before its update due to dependency managemnent will be recorded
 in the node's custom data when building a dependency graph.public static final String NODE_DATA_PREMANAGED_VERSION
custom data under which the original version is
 stored.public static final String NODE_DATA_PREMANAGED_SCOPE
custom data under which the original scope is
 stored.public static final String NODE_DATA_PREMANAGED_OPTIONAL
custom data under which the original optional
 flag is stored.public static final String NODE_DATA_PREMANAGED_EXCLUSIONS
custom data under which the original exclusions
 are stored.public static final String NODE_DATA_PREMANAGED_PROPERTIES
custom data under which the original properties
 are stored.public DependencyManagerUtils()
public static String getPremanagedVersion(org.eclipse.aether.graph.DependencyNode node)
node - The dependency node to retrieve the premanaged data for, must not be null.null if the version was not managed
         or if CONFIG_PROP_VERBOSE was not enabled.public static String getPremanagedScope(org.eclipse.aether.graph.DependencyNode node)
node - The dependency node to retrieve the premanaged data for, must not be null.null if the scope was not managed or
         if CONFIG_PROP_VERBOSE was not enabled.public static Boolean getPremanagedOptional(org.eclipse.aether.graph.DependencyNode node)
node - The dependency node to retrieve the premanaged data for, must not be null.null if the flag was not managed or if
         CONFIG_PROP_VERBOSE was not enabled.public static Collection<org.eclipse.aether.graph.Exclusion> getPremanagedExclusions(org.eclipse.aether.graph.DependencyNode node)
Exclusions of the specified dependency node before dependency management was applied (if any).node - The dependency node to retrieve the premanaged data for, must not be null.Exclusions before dependency management or null if exclusions were not managed
         or if CONFIG_PROP_VERBOSE was not enabled.public static Map<String,String> getPremanagedProperties(org.eclipse.aether.graph.DependencyNode node)
node - The dependency node to retrieve the premanaged data for, must not be null.null if properties were not managed or if
         CONFIG_PROP_VERBOSE was not enabled.Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.