Package | Description |
---|---|
org.appng.api |
Base package for the appNG API
|
org.appng.api.support.environment |
Responsible for implementing
Environment . |
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.
|
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. |
Set<String> |
Environment.keySet(Scope 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. |
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) |
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–2019 aiticon GmbH. All rights reserved.