Interface IDictionary
- All Superinterfaces:
ConfigurationItem,Serializable
- All Known Subinterfaces:
IEncryptedDictionary
- All Known Implementing Classes:
AbstractDictionary,Dictionary,EncryptedDictionary
Provide methods to get a value by key from a storage.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classContext used when processing dictionaries for a deployment. -
Field Summary
Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD -
Method Summary
Modifier and TypeMethodDescriptionapplyTo(IDictionary.DictionaryContext context) Return a view on this dictionary as applicable to the given context.Methods inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
get$directoryReference, get$internalId, get$referenceId, get$securedCi, get$securedDirectoryReference, get$validationMessages, getId, getName, getProperty, getType, hasProperty, setId, setProperty
-
Method Details
-
getValue
- Parameters:
key- The key of a dictionary entry.- Returns:
- The value associated with the given key.
-
getEntries
- Returns:
- The dictionary entries.
-
applyTo
Return a view on this dictionary as applicable to the given context.- Parameters:
context- The context to generate the view for.- Returns:
- a dictionary tailored for the given context. Can be
thisif no adjustments are required ornullif the dictionary is not applicable to the given context.
-