Package org.osgi.service.feature
Interface Feature
-
@ProviderType public interface Feature
The Feature Model Feature.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<FeatureBundle>
getBundles()
Get the bundles.java.util.List<java.lang.String>
getCategories()
Get the categories.java.util.Map<java.lang.String,FeatureConfiguration>
getConfigurations()
Get the configurations.java.util.Optional<java.lang.String>
getDescription()
Get the description.java.util.Optional<java.lang.String>
getDocURL()
Get the documentation URL.java.util.Map<java.lang.String,FeatureExtension>
getExtensions()
Get the extensions.ID
getID()
Get the Feature's ID.java.util.Optional<java.lang.String>
getLicense()
Get the license of this Feature.java.util.Optional<java.lang.String>
getName()
Get the name.java.util.Optional<java.lang.String>
getSCM()
Get the SCM information relating to the feature.java.util.Map<java.lang.String,java.lang.Object>
getVariables()
Get the variables.java.util.Optional<java.lang.String>
getVendor()
Get the vendor.boolean
isComplete()
Get whether the feature is complete or not.
-
-
-
Method Detail
-
getID
ID getID()
Get the Feature's ID.- Returns:
- The ID of this Feature.
-
getName
java.util.Optional<java.lang.String> getName()
Get the name.- Returns:
- The name.
-
getCategories
java.util.List<java.lang.String> getCategories()
Get the categories.- Returns:
- The categories. The returned list is unmodifiable.
-
getDescription
java.util.Optional<java.lang.String> getDescription()
Get the description.- Returns:
- The description.
-
getDocURL
java.util.Optional<java.lang.String> getDocURL()
Get the documentation URL.- Returns:
- The documentation URL.
-
getVendor
java.util.Optional<java.lang.String> getVendor()
Get the vendor.- Returns:
- The vendor.
-
getLicense
java.util.Optional<java.lang.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:
- The license.
-
getSCM
java.util.Optional<java.lang.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:
- The SCM information.
-
isComplete
boolean isComplete()
Get whether the feature is complete or not.- Returns:
- Completeness value.
-
getBundles
java.util.List<FeatureBundle> getBundles()
Get the bundles.- Returns:
- The bundles. The returned list is unmodifiable.
-
getConfigurations
java.util.Map<java.lang.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
java.util.Map<java.lang.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
java.util.Map<java.lang.String,java.lang.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. Thenull
JSON value is represented by a null value in the map.- Returns:
- The variables. The returned map is unmodifiable.
-
-