org.apache.felix.bundlerepository
Class ObrCommandImpl

java.lang.Object
  extended by 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)
           
 
Method Summary
 void execute(java.lang.String commandLine, java.io.PrintStream out, java.io.PrintStream err)
           
 java.lang.String getName()
           
 java.lang.String getShortDescription()
           
 java.lang.String getUsage()
           
 org.osgi.service.obr.Resource selectNewestVersion(org.osgi.service.obr.Resource[] resources)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObrCommandImpl

public ObrCommandImpl(org.osgi.framework.BundleContext context,
                      org.osgi.service.obr.RepositoryAdmin repoAdmin)
Method Detail

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)