org.apache.geronimo.deployment.cli
Class CommandListConfigurations

java.lang.Object
  extended by org.apache.geronimo.deployment.cli.AbstractCommand
      extended by org.apache.geronimo.deployment.cli.CommandListConfigurations
All Implemented Interfaces:
DeployCommand

public class CommandListConfigurations
extends AbstractCommand

The CLI deployer logic to start.


Constructor Summary
CommandListConfigurations()
           
 
Method Summary
 void assembleServer(GeronimoDeploymentManager mgr, List<String> list, PluginListType all, String repositoryPath, String relativeServerPath, jline.ConsoleReader consoleReader)
           
 void assembleServer(GeronimoDeploymentManager mgr, PluginListType list, String repositoryPath, String relativeServerPath, jline.ConsoleReader consoleReader)
           
 void execute(jline.ConsoleReader consoleReader, ServerConnection connection, CommandArgs commandArgs)
           
 PluginListType getInstallList(PluginListType plugins, jline.ConsoleReader consoleReader, String repo)
           
 PluginListType getLocalPluginCategories(GeronimoDeploymentManager mgr, jline.ConsoleReader consoleReader)
           
 PluginListType getPluginCategories(String repo, GeronimoDeploymentManager mgr, jline.ConsoleReader consoleReader)
           
 String getRepository(jline.ConsoleReader consoleReader, GeronimoDeploymentManager mgr)
           
 void installPlugins(GeronimoDeploymentManager mgr, List<String> list, PluginListType all, String defaultRepository, jline.ConsoleReader consoleReader, ServerConnection connection)
           
 void installPlugins(GeronimoDeploymentManager mgr, PluginListType list, String defaultRepository, jline.ConsoleReader consoleReader, ServerConnection connection)
           
 
Methods inherited from class org.apache.geronimo.deployment.cli.AbstractCommand
emit, identifyTargets, isLocalOnly, isMultipleTargets, waitForProgress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandListConfigurations

public CommandListConfigurations()
Method Detail

execute

public void execute(jline.ConsoleReader consoleReader,
                    ServerConnection connection,
                    CommandArgs commandArgs)
             throws DeploymentException
Throws:
DeploymentException

getRepository

public String getRepository(jline.ConsoleReader consoleReader,
                            GeronimoDeploymentManager mgr)
                     throws IOException,
                            DeploymentException
Throws:
IOException
DeploymentException

getPluginCategories

public PluginListType getPluginCategories(String repo,
                                          GeronimoDeploymentManager mgr,
                                          jline.ConsoleReader consoleReader)
                                   throws DeploymentException,
                                          IOException
Throws:
DeploymentException
IOException

getLocalPluginCategories

public PluginListType getLocalPluginCategories(GeronimoDeploymentManager mgr,
                                               jline.ConsoleReader consoleReader)
                                        throws DeploymentException,
                                               IOException
Throws:
DeploymentException
IOException

getInstallList

public PluginListType getInstallList(PluginListType plugins,
                                     jline.ConsoleReader consoleReader,
                                     String repo)
                              throws IOException
Throws:
IOException

installPlugins

public void installPlugins(GeronimoDeploymentManager mgr,
                           PluginListType list,
                           String defaultRepository,
                           jline.ConsoleReader consoleReader,
                           ServerConnection connection)
                    throws IOException,
                           DeploymentException
Throws:
IOException
DeploymentException

installPlugins

public void installPlugins(GeronimoDeploymentManager mgr,
                           List<String> list,
                           PluginListType all,
                           String defaultRepository,
                           jline.ConsoleReader consoleReader,
                           ServerConnection connection)
                    throws IOException,
                           DeploymentException
Throws:
IOException
DeploymentException

assembleServer

public void assembleServer(GeronimoDeploymentManager mgr,
                           PluginListType list,
                           String repositoryPath,
                           String relativeServerPath,
                           jline.ConsoleReader consoleReader)
                    throws Exception
Throws:
Exception

assembleServer

public void assembleServer(GeronimoDeploymentManager mgr,
                           List<String> list,
                           PluginListType all,
                           String repositoryPath,
                           String relativeServerPath,
                           jline.ConsoleReader consoleReader)
                    throws Exception
Throws:
Exception


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.