public abstract static class LocalContext.Parameter<T> extends Configurable<T>
configurable parameter whose value can
be locally superseded within the scope of LocalContext.Configurable.Listener| Modifier and Type | Field and Description |
|---|---|
static SecurityContext.Permission<LocalContext.Parameter<?>> |
SUPERSEDE_PERMISSION
Holds the general permission to supersede any parameter value
(action "supersede").
|
RECONFIGURE_PERMISSION| Constructor and Description |
|---|
LocalContext.Parameter()
Creates a new parameter (configurable).
|
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Returns the current parameter value (the default value if not
reconfigured nor
superseded). |
SecurityContext.Permission<LocalContext.Parameter<T>> |
getSupersedePermission()
Returns the permission to locally supersede the current value
of this instance.
|
getDefault, getName, getReconfigurePermission, initialized, parse, reconfigure, reconfiguredpublic static final SecurityContext.Permission<LocalContext.Parameter<?>> SUPERSEDE_PERMISSION
public LocalContext.Parameter()
public SecurityContext.Permission<LocalContext.Parameter<T>> getSupersedePermission()
public T get()
superseded).get in class Configurable<T>Copyright © 2005-2013 Javolution. All Rights Reserved.