org.appng.api.support.environment

## Interface ScopedEnvironment

-     public interface ScopedEnvironment

  Interface for an environment of a certain `Scope`.
  Author:
    Matthias Müller
  See Also:
    `Environment`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | `getAttribute(String name)`
    `String` | `getAttributeAsString(String name)`
    `ConcurrentMap<String,Object>` | `getContainer()` Returns the underlying `ConcurrentMap` which is used to store the attributes.
    `Set<String>` | `keySet()`
    `<T> T` | `removeAttribute(String name)`
    `void` | `setAttribute(String name, Object value)`

- - ### Method Detail

    - #### setAttribute

          void setAttribute(String name,
                            Object value)

      See Also:
        `Environment.setAttribute(Scope, String, Object)`

    - #### getAttribute

          <T> T getAttribute(String name)

      See Also:
        `Environment.getAttribute(Scope, String)`

    - #### getAttributeAsString

          String getAttributeAsString(String name)

      See Also:
        `Environment.getAttributeAsString(Scope, String)`

    - #### removeAttribute

          <T> T removeAttribute(String name)

      See Also:
        `Environment.setAttribute(Scope, String, Object)`

    - #### getContainer

          ConcurrentMap<String,Object> getContainer()

      Returns the underlying `ConcurrentMap` which is used to store the attributes.
      Returns:
        the underlying `ConcurrentMap`

    - #### keySet

          Set<String> keySet()

      See Also:
        `Environment.keySet(Scope)`

Copyright © 2011–2023 aiticon GmbH. All rights reserved.