public class Features
extends java.lang.Object
Features| Constructor and Description |
|---|
Features() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.karaf.features.Feature |
getFeatureForBundle(org.apache.karaf.features.Feature[] features,
DependencyTree dependency)
Find the feature that contains bundle corresponding to the dependency tree item
|
static org.apache.karaf.features.Feature |
getFeatureForBundle(org.apache.karaf.features.Feature[] features,
java.lang.String bundle)
Find the feature that contains the required bundle location.
|
static java.util.List<java.lang.String> |
getRequiredLocations(org.apache.karaf.features.Feature feature)
Extract the required bundle locations from a feature, omitting bundles that are marked with
dependency="true" |
public static java.util.List<java.lang.String> getRequiredLocations(org.apache.karaf.features.Feature feature)
dependency="true"feature - the Karaf featurepublic static org.apache.karaf.features.Feature getFeatureForBundle(org.apache.karaf.features.Feature[] features,
java.lang.String bundle)
features - the list of features to searchbundle - the required bundle location URLnull if there was no matching featurepublic static org.apache.karaf.features.Feature getFeatureForBundle(org.apache.karaf.features.Feature[] features,
DependencyTree dependency)
features - the list of features to searchdependency - the required dependency tree itemnull if there was no matching featureCopyright © 2016 Red Hat. All Rights Reserved.