public class ProfileVariableLookup extends StrLookup
StrLookup that is
looking up variables from a
Authorizable's UserProperties.
Additional variables can bee added via a put(String, String).
If the key exists in the UserProperties, the value is overwritten with the newly setStrLookup| Modifier and Type | Field and Description |
|---|---|
static String |
AUTHORIZABLE_ID |
| Constructor and Description |
|---|
ProfileVariableLookup(Authorizable authorizable,
UserProperties userProperties,
Map<String,String> overlays) |
| Modifier and Type | Method and Description |
|---|---|
String |
lookup(String variable) |
void |
put(String var,
String replace)
Adds or overwrites a mapping of this replacer.
|
mapLookup, noneLookup, systemPropertiesLookuppublic static final String AUTHORIZABLE_ID
public ProfileVariableLookup(Authorizable authorizable, UserProperties userProperties, Map<String,String> overlays) throws IntrospectionException
authorizable - The authorizable for which variables need to be looked up.userProperties - The properties of the authorizable.overlays - The map of overlaysIntrospectionException - when not being able to map a string class name to a Class objectCopyright © 2010 - 2020 Adobe. All Rights Reserved