Package org.eclipse.aether.collection
Interface DependencyGraphTransformationContext
-
- All Known Implementing Classes:
DefaultDependencyGraphTransformationContext,TestDependencyGraphTransformationContext
public interface DependencyGraphTransformationContextA context used during dependency collection to exchange information within a chain of dependency graph transformers.- See Also:
DependencyGraphTransformer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Objectget(java.lang.Object key)Gets a keyed value from the context.RepositorySystemSessiongetSession()Gets the repository system session during which the graph transformation happens.java.lang.Objectput(java.lang.Object key, java.lang.Object value)Puts a keyed value into the context.
-
-
-
Method Detail
-
getSession
RepositorySystemSession getSession()
Gets the repository system session during which the graph transformation happens.- Returns:
- The repository system session, never
null.
-
get
java.lang.Object get(java.lang.Object key)
Gets a keyed value from the context.- Parameters:
key- The key used to query the value, must not benull.- Returns:
- The queried value or
nullif none.
-
put
java.lang.Object put(java.lang.Object key, java.lang.Object value)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 benullto remove the mapping.- Returns:
- The previous value associated with the key or
nullif none.
-
-