Package org.osgi.service.feature
Interface FeatureConfiguration
-
@ProviderType public interface FeatureConfiguration
Represents an OSGi Configuration in the Feature Model.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
getFactoryPid()
Get the Factory PID from the configuration, if any.java.lang.String
getPid()
Get the PID from the configuration.java.util.Map<java.lang.String,java.lang.Object>
getValues()
Get the configuration key-value map.
-
-
-
Method Detail
-
getPid
java.lang.String getPid()
Get the PID from the configuration.- Returns:
- The PID.
-
getFactoryPid
java.util.Optional<java.lang.String> getFactoryPid()
Get the Factory PID from the configuration, if any.- Returns:
- The Factory PID, or
null
if there is none.
-
getValues
java.util.Map<java.lang.String,java.lang.Object> getValues()
Get the configuration key-value map.- Returns:
- The key-value map. The returned map is unmodifiable.
-
-