Class FeatureExport
- java.lang.Object
-
- org.apache.karaf.features.command.FeaturesCommandSupport
-
- org.apache.karaf.features.command.FeatureExport
-
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
public class FeatureExport extends FeaturesCommandSupport
SimpleFeaturesCommandSupportimplementation that allows a user in the karaf shell to export the bundles associated with a given feature to the file system. This is useful for several use cases, such as in the event you need to deploy the functionality offered by a particular feature to an OBR repository.
-
-
Field Summary
-
Fields inherited from class org.apache.karaf.features.command.FeaturesCommandSupport
options
-
-
Constructor Summary
Constructors Constructor Description FeatureExport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoExecute(org.apache.karaf.features.FeaturesService featuresService)-
Methods inherited from class org.apache.karaf.features.command.FeaturesCommandSupport
addOption, execute, getFeatureId, getFeatureIds, selectRepositories, setFeaturesService
-
-
-
-
Method Detail
-
doExecute
public void doExecute(org.apache.karaf.features.FeaturesService featuresService) throws Exception- Specified by:
doExecutein classFeaturesCommandSupport- Throws:
Exception
-
-