Class DefaultDependencyGraphTransformationContext
java.lang.Object
org.eclipse.aether.internal.impl.collect.DefaultDependencyGraphTransformationContext
- All Implemented Interfaces:
DependencyGraphTransformationContext
public class DefaultDependencyGraphTransformationContext
extends Object
implements DependencyGraphTransformationContext
Default implementation of
DependencyGraphTransformationContext
.
Internal helper class for collector implementations.-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionGets a keyed value from the context.Gets the repository system session during which the graph transformation happens.Puts a keyed value into the context.toString()
-
Constructor Details
-
DefaultDependencyGraphTransformationContext
-
-
Method Details
-
getSession
Description copied from interface:DependencyGraphTransformationContext
Gets the repository system session during which the graph transformation happens.- Specified by:
getSession
in interfaceDependencyGraphTransformationContext
- Returns:
- The repository system session, never
null
.
-
get
Description copied from interface:DependencyGraphTransformationContext
Gets a keyed value from the context.- Specified by:
get
in interfaceDependencyGraphTransformationContext
- Parameters:
key
- The key used to query the value, must not benull
.- Returns:
- The queried value or
null
if none.
-
put
Description copied from interface:DependencyGraphTransformationContext
Puts a keyed value into the context.- Specified by:
put
in interfaceDependencyGraphTransformationContext
- Parameters:
key
- The key used to store the value, must not benull
.value
- The value to store, may benull
to remove the mapping.- Returns:
- The previous value associated with the key or
null
if none.
-
toString
-