public class DefaultDependencyGraphTransformationContext extends Object implements DependencyGraphTransformationContext
DependencyGraphTransformationContext.
Internal helper class for collector implementations.| Constructor and Description |
|---|
DefaultDependencyGraphTransformationContext(RepositorySystemSession session) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(Object key)
Gets a keyed value from the context.
|
RepositorySystemSession |
getSession()
Gets the repository system session during which the graph transformation happens.
|
Object |
put(Object key,
Object value)
Puts a keyed value into the context.
|
String |
toString() |
public DefaultDependencyGraphTransformationContext(RepositorySystemSession session)
public RepositorySystemSession getSession()
DependencyGraphTransformationContextgetSession in interface DependencyGraphTransformationContextnull.public Object get(Object key)
DependencyGraphTransformationContextget in interface DependencyGraphTransformationContextkey - The key used to query the value, must not be null.null if none.public Object put(Object key, Object value)
DependencyGraphTransformationContextput in interface DependencyGraphTransformationContextkey - The key used to store the value, must not be null.value - The value to store, may be null to remove the mapping.null if none.Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.