Top Description Methods
org.osgi.service.feature

public Interface Feature

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

The Feature Model Feature.

Method Summary

Modifier and TypeMethod and Description
public List<FeatureBundle>

Returns:

The bundles. The returned list is unmodifiable.
getBundles
()

Get the bundles.

public List<String>

Returns:

The categories. The returned list is unmodifiable.
getCategories
()

Get the categories.

public Map<String, FeatureConfiguration>

Returns:

The configurations. The returned map is unmodifiable.
getConfigurations
()

Get the configurations.

public Optional<String>

Returns:

The description.
getDescription
()

Get the description.

public Optional<String>

Returns:

The documentation URL.
getDocURL
()

Get the documentation URL.

public Map<String, FeatureExtension>

Returns:

The extensions. The returned map is unmodifiable.
getExtensions
()

Get the extensions.

public ID

Returns:

The ID of this Feature.
getID
()

Get the Feature's ID.

public Optional<String>

Returns:

The license.
getLicense
()

Get the license of this Feature.

public Optional<String>

Returns:

The name.
getName
()

Get the name.

public Optional<String>

Returns:

The SCM information.
getSCM
()

Get the SCM information relating to the feature.

public Map<String, Object>

Returns:

The variables. The returned map is unmodifiable.
getVariables
()

Get the variables.

public Optional<String>

Returns:

The vendor.
getVendor
()

Get the vendor.

public boolean

Returns:

Completeness value.
isComplete
()

Get whether the feature is complete or not.

Method Detail

getBundlesback to summary
public List<FeatureBundle> getBundles()

Get the bundles.

Returns:List<FeatureBundle>

The bundles. The returned list is unmodifiable.

getCategoriesback to summary
public List<String> getCategories()

Get the categories.

Returns:List<String>

The categories. The returned list is unmodifiable.

getConfigurationsback to summary
public Map<String, FeatureConfiguration> getConfigurations()

Get the configurations. The iteration order of the returned map should follow the definition order of the configurations in the feature.

Returns:Map<String, FeatureConfiguration>

The configurations. The returned map is unmodifiable.

getDescriptionback to summary
public Optional<String> getDescription()

Get the description.

Returns:Optional<String>

The description.

getDocURLback to summary
public Optional<String> getDocURL()

Get the documentation URL.

Returns:Optional<String>

The documentation URL.

getExtensionsback to summary
public Map<String, FeatureExtension> getExtensions()

Get the extensions. The iteration order of the returned map should follow the definition order of the extensions in the feature.

Returns:Map<String, FeatureExtension>

The extensions. The returned map is unmodifiable.

getIDback to summary
public ID getID()

Get the Feature's ID.

Returns:ID

The ID of this Feature.

getLicenseback to summary
public Optional<String> getLicense()

Get the license of this Feature. The syntax of the value follows the Bundle-License header syntax. See the 'Bundle Manifest Headers' section in the OSGi Core specification.

Returns:Optional<String>

The license.

getNameback to summary
public Optional<String> getName()

Get the name.

Returns:Optional<String>

The name.

getSCMback to summary
public Optional<String> getSCM()

Get the SCM information relating to the feature. The syntax of the value follows the Bundle-SCM format. See the 'Bundle Manifest Headers' section in the OSGi Core specification.

Returns:Optional<String>

The SCM information.

getVariablesback to summary
public Map<String, Object> getVariables()

Get the variables. The iteration order of the returned map should follow the definition order of the variables in the feature. Values are of type: String, Boolean or BigDecimal for numbers. The null JSON value is represented by a null value in the map.

Returns:Map<String, Object>

The variables. The returned map is unmodifiable.

getVendorback to summary
public Optional<String> getVendor()

Get the vendor.

Returns:Optional<String>

The vendor.

isCompleteback to summary
public boolean isComplete()

Get whether the feature is complete or not.

Returns:boolean

Completeness value.