@ProviderType public interface FeatureConfigurationBuilder
FeatureConfiguration
objects.Modifier and Type | Method and Description |
---|---|
FeatureConfigurationBuilder |
addValue(String key,
Object value)
Add a configuration value for this Configuration object.
|
FeatureConfigurationBuilder |
addValues(Map<String,Object> configValues)
Add a map of configuration values for this Configuration object.
|
FeatureConfiguration |
build()
Build the Configuration object.
|
FeatureConfigurationBuilder addValue(String key, Object value)
key
- The configuration key.value
- The configuration value. Acceptable data types are the data
type supported by the Configuration Admin service, which are
the Primary Property Types as defined for the Filter Syntax in
the OSGi Core specification.IllegalArgumentException
- if the value is of an invalid type.FeatureConfigurationBuilder addValues(Map<String,Object> configValues)
configValues
- The map of configuration values to add. Acceptable
value types are the data type supported by the Configuration
Admin service, which are the Primary Property Types as defined
for the Filter Syntax in the OSGi Core specification.IllegalArgumentException
- if a value is of an invalid type or if
the same key is provided in different capitalizations
(regardless of case).FeatureConfiguration build()
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0