## Uses of Class
org.appng.api.Scope

- Packages that use Scope
  Package | Description
  --- | ---
  org.appng.api | Base package for the appNG API
  org.appng.api.support.environment | Responsible for implementing `Environment`.

- - ### Uses of Scope in org.appng.api

    Methods in org.appng.api that return Scope
    Modifier and Type | Method and Description
    --- | ---
    `static Scope` | Scope.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static Scope[]` | Scope.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in org.appng.api with parameters of type Scope
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | Environment.`getAttribute(Scope scope, String name)` Returns the attribute with the given name for the given `Scope`.
    `String` | Environment.`getAttributeAsString(Scope scope, String name)` Returns the string-representation of an attribute, calling `toString()` on the resulting object.
    `default ScopedEnvironment` | Environment.`getEnvironment(Scope scope)` Returns a `ScopedEnvironment` for the given `Scope`
    `Set<String>` | Environment.`keySet(Scope scope)` Returns a `Set` of all attribute names for the given `Scope`
    `<T> T` | Environment.`removeAttribute(Scope scope, String name)` Removes the attribute with the given name from the given `Scope` and returns it.
    `void` | Environment.`setAttribute(Scope scope, String name, Object value)` Sets an attribute for the given `Scope` to the given value.

  - ### Uses of Scope in org.appng.api.support.environment

    Methods in org.appng.api.support.environment with parameters of type Scope
    Modifier and Type | Method and Description
    --- | ---
    `void` | DefaultEnvironment.`disable(Scope scope)` Disables the given `Scope` for this environment
    `void` | DefaultEnvironment.`enable(Scope scope)` Enables the given `Scope` for this environment
    `<T> T` | DefaultEnvironment.`getAttribute(Scope scope, String name)`
    `String` | DefaultEnvironment.`getAttributeAsString(Scope scope, String name)`
    `ScopedEnvironment` | DefaultEnvironment.`getEnvironment(Scope scope)`
    `Set<String>` | DefaultEnvironment.`keySet(Scope scope)`
    `<T> T` | DefaultEnvironment.`removeAttribute(Scope scope, String name)`
    `void` | DefaultEnvironment.`setAttribute(Scope scope, String name, Object value)`

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