Top Description Methods
org.osgi.service.feature

public Interface FeatureConfiguration

Annotations
@ProviderType
Imports
java.util.Map, .Optional, org.osgi.annotation.versioning.ProviderType

Represents an OSGi Configuration in the Feature Model.

Method Summary

Modifier and TypeMethod and Description
public Optional<String>

Returns:

The Factory PID, or null if there is none.
getFactoryPid
()

Get the Factory PID from the configuration, if any.

public String

Returns:

The PID.
getPid
()

Get the PID from the configuration.

public Map<String, Object>

Returns:

The key-value map. The returned map is unmodifiable.
getValues
()

Get the configuration key-value map.

Method Detail

getFactoryPidback to summary
public Optional<String> getFactoryPid()

Get the Factory PID from the configuration, if any.

Returns:Optional<String>

The Factory PID, or null if there is none.

getPidback to summary
public String getPid()

Get the PID from the configuration.

Returns:String

The PID.

getValuesback to summary
public Map<String, Object> getValues()

Get the configuration key-value map.

Returns:Map<String, Object>

The key-value map. The returned map is unmodifiable.