org.eclipse.aether.collection

## Interface DependencyGraphTransformationContext

-     public interface DependencyGraphTransformationContext

  A context used during dependency collection to exchange information within a chain of dependency graph transformers.
  See Also:
    `DependencyGraphTransformer`
  Restriction:
    This interface is not intended to be extended by clients.
  Restriction:
    This interface is not intended to be implemented by clients.

- - ### Method Summary

    Methods
    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.

- - ### Method Detail

    - #### getSession

          RepositorySystemSession getSession()

      Gets the repository system session during which the graph transformation happens.
      Returns:
        The repository system session, never `null`.

    - #### get

          Object get(Object key)

      Gets a keyed value from the context.
      Parameters:
        `key` - The key used to query the value, must not be `null`.
      Returns:
        The queried value or `null` if none.

    - #### put

          Object put(Object key,
                   Object value)

      Puts a keyed value into the context.
      Parameters:
        `key` - The key used to store the value, must not be `null`.
        `value` - The value to store, may be `null` to remove the mapping.
      Returns:
        The previous value associated with the key or `null` if none.

Copyright © 2010-2013 The Eclipse Foundation. All Rights Reserved.