Uses of Class
org.appng.api.Scope
-
Packages that use Scope Package Description org.appng.api Base package for the appNG APIorg.appng.api.support.environment Responsible for implementingEnvironment
. -
-
Uses of Scope in org.appng.api
Methods in org.appng.api that return Scope Modifier and Type Method 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 Description <T> T
Environment. getAttribute(Scope scope, String name)
Returns the attribute with the given name for the givenScope
.String
Environment. getAttributeAsString(Scope scope, String name)
Returns the string-representation of an attribute, callingtoString()
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 givenScope
and returns it.void
Environment. setAttribute(Scope scope, String name, Object value)
Sets an attribute for the givenScope
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 Description void
DefaultEnvironment. disable(Scope scope)
Disables the givenScope
for this environmentvoid
DefaultEnvironment. enable(Scope scope)
Enables the givenScope
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)
-