@Metadata(root=ENVIRONMENTS, description="A Dictionary contains key-value pairs that can be replaced") @TypeIcon(value="icons/types/udm.Dictionary.svg") public class Dictionary extends AbstractDictionary implements IEncryptedDictionary
Environment-specific entries for placeholder resolution.
A dictionary value can refer to another dictionary entry. This is accomplished by using the {{..}} placeholder syntax.
For example:
MESSAGE Welcome to {{APP_NAME}}!
IDictionary.DictionaryContextid, syntheticProperties, typeSYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD| Constructor and Description |
|---|
Dictionary() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getEncryptedEntries() |
java.util.Map<java.lang.String,java.lang.String> |
getEntries() |
java.util.Set<Application> |
getRestrictToDistributions() |
java.lang.String |
getValue(java.lang.String key) |
boolean |
hasValue(java.lang.String key) |
void |
setEncryptedEntries(java.util.Map<java.lang.String,java.lang.String> encryptedEntries) |
void |
setEntries(java.util.Map<java.lang.String,java.lang.String> dict) |
applyTo, getRestrictToApplications, getRestrictToContainerscompareTo, equals, get$ciAttributes, get$externalProperties, get$internalId, get$securedCi, get$token, get$validationMessages, getId, getName, getProperty, getPropertyDescriptor, getType, hashCode, hasProperty, set$ciAttributes, set$externalProperties, set$internalId, set$securedCi, set$token, set$validationMessages, setId, setProperty, setType, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitapplyToget$internalId, get$securedCi, get$validationMessages, getId, getName, getProperty, getType, hasProperty, setId, setPropertypublic void setEntries(java.util.Map<java.lang.String,java.lang.String> dict)
dict - The dictionary entries.public java.util.Map<java.lang.String,java.lang.String> getEntries()
getEntries in interface IDictionarypublic java.util.Map<java.lang.String,java.lang.String> getEncryptedEntries()
getEncryptedEntries in interface IEncryptedDictionarypublic void setEncryptedEntries(java.util.Map<java.lang.String,java.lang.String> encryptedEntries)
encryptedEntries - The encrypted dictionary entriespublic java.lang.String getValue(java.lang.String key)
getValue in interface IDictionarykey - The key of a dictionary entry.public boolean hasValue(java.lang.String key)
key - The key of a dictionary entry.public java.util.Set<Application> getRestrictToDistributions()
Applications only for which the dictionary is applied.