public abstract class FeaturesCommandSupport extends Object implements org.apache.karaf.shell.api.action.Action
| Modifier and Type | Field and Description |
|---|---|
protected EnumSet<org.apache.karaf.features.FeaturesService.Option> |
options |
| Constructor and Description |
|---|
FeaturesCommandSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addOption(org.apache.karaf.features.FeaturesService.Option option,
boolean shouldAdd) |
protected abstract void |
doExecute(org.apache.karaf.features.FeaturesService admin) |
Object |
execute() |
protected String |
getFeatureId(org.apache.karaf.features.FeaturesService admin,
String nameOrId) |
protected Set<URI> |
selectRepositories(String nameOrUrl,
String version) |
void |
setFeaturesService(org.apache.karaf.features.FeaturesService featuresService) |
protected EnumSet<org.apache.karaf.features.FeaturesService.Option> options
public Object execute() throws Exception
execute in interface org.apache.karaf.shell.api.action.ActionExceptionprotected abstract void doExecute(org.apache.karaf.features.FeaturesService admin)
throws Exception
Exceptionpublic void setFeaturesService(org.apache.karaf.features.FeaturesService featuresService)
protected void addOption(org.apache.karaf.features.FeaturesService.Option option,
boolean shouldAdd)
protected Set<URI> selectRepositories(String nameOrUrl, String version) throws Exception
ExceptionCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.