org.apache.felix.bundlerepository
Class ObrCommandImpl
java.lang.Object
org.apache.felix.bundlerepository.ObrCommandImpl
- All Implemented Interfaces:
- org.apache.felix.shell.Command
public class ObrCommandImpl
- extends java.lang.Object
- implements org.apache.felix.shell.Command
Constructor Summary |
ObrCommandImpl(org.osgi.framework.BundleContext context,
org.osgi.service.obr.RepositoryAdmin repoAdmin)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObrCommandImpl
public ObrCommandImpl(org.osgi.framework.BundleContext context,
org.osgi.service.obr.RepositoryAdmin repoAdmin)
getName
public java.lang.String getName()
- Specified by:
getName
in interface org.apache.felix.shell.Command
getUsage
public java.lang.String getUsage()
- Specified by:
getUsage
in interface org.apache.felix.shell.Command
getShortDescription
public java.lang.String getShortDescription()
- Specified by:
getShortDescription
in interface org.apache.felix.shell.Command
execute
public void execute(java.lang.String commandLine,
java.io.PrintStream out,
java.io.PrintStream err)
- Specified by:
execute
in interface org.apache.felix.shell.Command
selectNewestVersion
public org.osgi.service.obr.Resource selectNewestVersion(org.osgi.service.obr.Resource[] resources)