Class GetConfigurationProperties

java.lang.Object
org.codice.ddf.itests.common.callables.GetConfigurationProperties
All Implemented Interfaces:
Callable<Dictionary<String,Object>>

public class GetConfigurationProperties extends Object implements Callable<Dictionary<String,Object>>
Callable that retrieves the properties of a Configuration object. The search is done by looking for the Configuration object that has a property set to a specific value. If multiple objects match the criteria, an IllegalArgumentException will be thrown. For that reason, care should be taken to use a property name whose value is known to be unique.
  • Constructor Details

    • GetConfigurationProperties

      public GetConfigurationProperties(org.osgi.service.cm.ConfigurationAdmin configAdmin, String propertyName, String propertyValue)
      Constructor.
      Parameters:
      configAdmin - reference to the container's ConfigurationAdmin
      propertyName - name of the property to use for the search
      propertyValue - property value to search for
  • Method Details