org.fusesource.fabric.commands
Class VersionList

java.lang.Object
  extended by org.apache.karaf.shell.console.AbstractAction
      extended by org.apache.karaf.shell.console.OsgiCommandSupport
          extended by org.fusesource.fabric.boot.commands.support.FabricCommand
              extended by org.fusesource.fabric.commands.VersionList
All Implemented Interfaces:
org.apache.felix.gogo.commands.Action, org.apache.karaf.shell.console.BundleContextAware

public class VersionList
extends FabricCommand


Field Summary
 
Fields inherited from class org.fusesource.fabric.boot.commands.support.FabricCommand
AGENT_PID, configurationAdmin, fabricService
 
Fields inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
bundleContext, usedReferences
 
Fields inherited from class org.apache.karaf.shell.console.AbstractAction
log, session
 
Constructor Summary
VersionList()
           
 
Method Summary
protected  java.lang.Object doExecute()
           
protected  void printVersions(Container[] containers, Version[] versions, Version defaultVersion, java.io.PrintStream out)
           
 
Methods inherited from class org.fusesource.fabric.boot.commands.support.FabricCommand
checkFabricAvailable, doesContainerExist, getConfigurationAdmin, getContainer, getFabricService, getProfile, getProfiles, getProfiles, getZooKeeper, percentText, setConfigurationAdmin, setFabricService, setZooKeeper, toString
 
Methods inherited from class org.apache.karaf.shell.console.OsgiCommandSupport
execute, getAllServices, getBundleContext, getService, setBundleContext, ungetServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionList

public VersionList()
Method Detail

doExecute

protected java.lang.Object doExecute()
                              throws java.lang.Exception
Specified by:
doExecute in class org.apache.karaf.shell.console.AbstractAction
Throws:
java.lang.Exception

printVersions

protected void printVersions(Container[] containers,
                             Version[] versions,
                             Version defaultVersion,
                             java.io.PrintStream out)


Copyright © 2012 FuseSource. All Rights Reserved.