org.apache.felix.bundlerepository
Class ObrCommandImpl

java.lang.Object
  extended by org.apache.felix.bundlerepository.ObrCommandImpl
All Implemented Interfaces:
Command

public class ObrCommandImpl
extends Object
implements Command


Constructor Summary
ObrCommandImpl(BundleContext context, RepositoryAdmin repoAdmin)
           
 
Method Summary
 void execute(String commandLine, PrintStream out, PrintStream err)
           
 String getName()
           
 String getShortDescription()
           
 String getUsage()
           
 Resource selectNewestVersion(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(BundleContext context,
                      RepositoryAdmin repoAdmin)
Method Detail

getName

public String getName()
Specified by:
getName in interface Command

getUsage

public String getUsage()
Specified by:
getUsage in interface Command

getShortDescription

public String getShortDescription()
Specified by:
getShortDescription in interface Command

execute

public void execute(String commandLine,
                    PrintStream out,
                    PrintStream err)
Specified by:
execute in interface Command

selectNewestVersion

public Resource selectNewestVersion(Resource[] resources)


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.