public interface Configuration
Modifier and Type | Method and Description |
---|---|
void |
cloneProfile(String originalPrefix,
String clonedPrefix)
Clone configuration values at runtime only
All configuration values with originalPrefix are copied and
inserted as clonedPrefix
Example usage might be the generation of dynamic signature profiles:
cloneProfile(PdfAsConfigurationConstants.SIG_OBJECT_PREFIX + "SIGNATURBLOCK_DE",
PdfAsConfigurationConstants.SIG_OBJECT_PREFIX + "MY_DYNAMIC_PROFILE");
|
String |
getValue(String key)
Gets a specific Value
|
boolean |
hasValue(String key)
Is the configuration key set
|
void |
removeProfile(String configurationPrefix)
Removes all dynamically configured values with a given prefix.
|
void |
setValue(String key,
String value)
Sets or overrides a configuration value
|
String getValue(String key)
key
- The configuration keyboolean hasValue(String key)
key
- The configuration keyvoid setValue(String key, String value)
key
- The configuration keyvalue
- The configuration valuevoid cloneProfile(String originalPrefix, String clonedPrefix)
originalPrefix
- The original configuration key prefixclonedPrefix
- The cloned configuration key prefixvoid removeProfile(String configurationPrefix)
configurationPrefix
- The configuration key prefix