public abstract class ObrCommandSupport
extends org.apache.karaf.shell.console.OsgiCommandSupport
| Modifier and Type | Field and Description |
|---|---|
static String |
REPOSITORY_URL_PROP |
protected static char |
VERSION_DELIM |
| Constructor and Description |
|---|
ObrCommandSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDeploy(org.apache.felix.bundlerepository.RepositoryAdmin admin,
List<String> bundles,
boolean start,
boolean deployOptional) |
protected Object |
doExecute() |
protected abstract void |
doExecute(org.apache.felix.bundlerepository.RepositoryAdmin admin) |
protected String[] |
getTarget(String bundle) |
protected org.apache.felix.bundlerepository.Requirement |
parseRequirement(org.apache.felix.bundlerepository.RepositoryAdmin admin,
String req) |
protected org.apache.felix.bundlerepository.Requirement[] |
parseRequirements(org.apache.felix.bundlerepository.RepositoryAdmin admin,
List<String> requirements) |
protected void |
persistRepositoryList(org.apache.felix.bundlerepository.RepositoryAdmin admin) |
protected void |
printUnderline(PrintStream out,
int length) |
protected org.apache.felix.bundlerepository.Resource[] |
searchRepository(org.apache.felix.bundlerepository.RepositoryAdmin admin,
String targetId,
String targetVersion) |
org.apache.felix.bundlerepository.Resource |
selectNewestVersion(org.apache.felix.bundlerepository.Resource[] resources) |
protected static final char VERSION_DELIM
public static final String REPOSITORY_URL_PROP
protected Object doExecute() throws Exception
doExecute in class org.apache.karaf.shell.console.AbstractActionExceptionprotected abstract void doExecute(org.apache.felix.bundlerepository.RepositoryAdmin admin)
throws Exception
Exceptionprotected org.apache.felix.bundlerepository.Resource[] searchRepository(org.apache.felix.bundlerepository.RepositoryAdmin admin,
String targetId,
String targetVersion)
throws org.osgi.framework.InvalidSyntaxException
org.osgi.framework.InvalidSyntaxExceptionpublic org.apache.felix.bundlerepository.Resource selectNewestVersion(org.apache.felix.bundlerepository.Resource[] resources)
protected void printUnderline(PrintStream out, int length)
protected void doDeploy(org.apache.felix.bundlerepository.RepositoryAdmin admin,
List<String> bundles,
boolean start,
boolean deployOptional)
throws Exception
Exceptionprotected org.apache.felix.bundlerepository.Requirement parseRequirement(org.apache.felix.bundlerepository.RepositoryAdmin admin,
String req)
throws org.osgi.framework.InvalidSyntaxException
org.osgi.framework.InvalidSyntaxExceptionprotected org.apache.felix.bundlerepository.Requirement[] parseRequirements(org.apache.felix.bundlerepository.RepositoryAdmin admin,
List<String> requirements)
throws org.osgi.framework.InvalidSyntaxException
org.osgi.framework.InvalidSyntaxExceptionprotected void persistRepositoryList(org.apache.felix.bundlerepository.RepositoryAdmin admin)
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.