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
ConstructorsConstructorDescription -
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:DependencyGraphTransformationContextGets the repository system session during which the graph transformation happens.- Specified by:
getSessionin interfaceDependencyGraphTransformationContext- Returns:
- The repository system session, never
null.
-
get
Description copied from interface:DependencyGraphTransformationContextGets a keyed value from the context.- Specified by:
getin interfaceDependencyGraphTransformationContext- Parameters:
key- The key used to query the value, must not benull.- Returns:
- The queried value or
nullif none.
-
put
Description copied from interface:DependencyGraphTransformationContextPuts a keyed value into the context.- Specified by:
putin interfaceDependencyGraphTransformationContext- Parameters:
key- The key used to store the value, must not benull.value- The value to store, may benullto remove the mapping.- Returns:
- The previous value associated with the key or
nullif none.
-
toString
-