Interface ConfigurationSet


  • public interface ConfigurationSet
    Contains a collection of ConfigurationEntry instances which are grouped by a ConfigurationSet definition based on a OSGi MetaType description.
    Author:
    arjansc
    • Method Detail

      • getConfigurationEntries

        ConfigurationEntry[] getConfigurationEntries()
        Returns all ConfigurationEntry instances contained in this ConfigurationSet.
      • getConfigurationEntry

        ConfigurationEntry getConfigurationEntry​(String name)
        Returns a ConfigurationEntry with the specified name from the current ConfigurationSet.
        Parameters:
        name - the name of the ConfigurationEntry
        Returns:
        a ConfigurationEntry with the specified name, or null if it is not found
      • setConfigurationEntries

        void setConfigurationEntries​(ConfigurationEntry[] entries)
        Updates the contents of the ConfigurationSet.
        Parameters:
        entries - The new content of the ConfigurationSet
      • addConfigurationEntry

        void addConfigurationEntry​(ConfigurationEntry entry)
        Add the ConfigurationEntry to the set.
        Parameters:
        entry - the ConfigurationEntry to add.
      • removeConfigurationEntry

        void removeConfigurationEntry​(ConfigurationEntry entry)
        Remove the ConfigurationEntry from the set.
        Parameters:
        entry - the ConfigurationEntry to remove.
      • getActivationCriteria

        Map<String,​String> getActivationCriteria()
        TODO
        Returns:
      • setActivationCriteria

        void setActivationCriteria​(Map<String,​String> criteria)
        TODO
        Parameters:
        criteria -
      • getName

        String getName()
        Return the name of this configuration set
        Returns:
        The name of the configuration set