Package org.osgi.service.feature
Interface Feature
@ProviderType
public interface Feature
The Feature Model Feature.
- "ThreadSafe"
-
Method Summary
Modifier and TypeMethodDescriptionGet the bundles.Get the categories.Get the configurations.Get the description.Get the documentation URL.Get the extensions.getID()
Get the Feature's ID.Get the license of this Feature.getName()
Get the name.getSCM()
Get the SCM information relating to the feature.Get the variables.Get the vendor.boolean
Get whether the feature is complete or not.
-
Method Details
-
getID
ID getID()Get the Feature's ID.- Returns:
- The ID of this Feature.
-
getName
Get the name.- Returns:
- The name.
-
getCategories
Get the categories.- Returns:
- The categories. The returned list is unmodifiable.
-
getDescription
Get the description.- Returns:
- The description.
-
getDocURL
Get the documentation URL.- Returns:
- The documentation URL.
-
getVendor
Get the vendor.- Returns:
- The vendor.
-
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:
- The license.
-
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:
- The SCM information.
-
isComplete
boolean isComplete()Get whether the feature is complete or not.- Returns:
- Completeness value.
-
getBundles
List<FeatureBundle> getBundles()Get the bundles.- Returns:
- The bundles. The returned list is unmodifiable.
-
getConfigurations
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:
- The configurations. The returned map is unmodifiable.
-
getExtensions
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:
- The extensions. The returned map is unmodifiable.
-
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. Thenull
JSON value is represented by a null value in the map.- Returns:
- The variables. The returned map is unmodifiable.
-