Package org.eclipse.aether.collection
Interface DependencyGraphTransformationContext
- All Known Implementing Classes:
DefaultDependencyGraphTransformationContext
public interface DependencyGraphTransformationContext
A context used during dependency collection to exchange information within a chain of dependency graph transformers.
- See Also:
- Restriction:
- This interface is not intended to be extended by clients.
- Restriction:
- This interface is not intended to be implemented by clients.
-
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.
-
Method Details
-
getSession
Gets the repository system session during which the graph transformation happens.- Returns:
- The repository system session, never
null
.
-
get
Gets a keyed value from the context.- Parameters:
key
- The key used to query the value, must not benull
.- Returns:
- The queried value or
null
if none.
-
put
Puts a keyed value into the context.- 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.
-