Class AbstractDictionary

java.lang.Object
com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
com.xebialabs.deployit.plugin.api.udm.AbstractDictionary
All Implemented Interfaces:
ConfigurationItem, IDictionary, Serializable, Comparable<BaseConfigurationItem>
Direct Known Subclasses:
Dictionary

public abstract class AbstractDictionary extends BaseConfigurationItem implements IDictionary
See Also:
  • Constructor Details

    • AbstractDictionary

      public AbstractDictionary()
  • Method Details

    • getRestrictToContainers

      public Set<Container> getRestrictToContainers()
      Returns:
      The set of Containers only for which the dictionary is applied.
    • getRestrictToApplications

      public Set<Application> getRestrictToApplications()
      Returns:
      The set of Applications only for which the dictionary is applied.
    • applyTo

      public IDictionary applyTo(IDictionary.DictionaryContext context)
      Description copied from interface: IDictionary
      Return a view on this dictionary as applicable to the given context.
      Specified by:
      applyTo in interface IDictionary
      Parameters:
      context - The context to generate the view for.
      Returns:
      a dictionary tailored for the given context. Can be this if no adjustments are required or null if the dictionary is not applicable to the given context.