org.apache.geronimo.deployment.cli
Interface DeployCommand

All Known Implementing Classes:
AbstractCommand, CommandDeploy, CommandDistribute, CommandInstallCAR, CommandListConfigurations, CommandListModules, CommandListTargets, CommandLogin, CommandRedeploy, CommandRestart, CommandStart, CommandStop, CommandUndeploy

public interface DeployCommand

An abstraction of various CLI deployer commands. Holds metadata like help text, and also the logic to validate arguments and execute the command.


Method Summary
 void execute(PrintWriter out, ServerConnection connection, String[] args)
           
 String getCommandGroup()
           
 String getCommandName()
           
 String getHelpArgumentList()
           
 String getHelpText()
           
 boolean isLocalOnly()
           
 

Method Detail

getCommandGroup

String getCommandGroup()

getCommandName

String getCommandName()

getHelpArgumentList

String getHelpArgumentList()

getHelpText

String getHelpText()

isLocalOnly

boolean isLocalOnly()

execute

void execute(PrintWriter out,
             ServerConnection connection,
             String[] args)
             throws org.apache.geronimo.common.DeploymentException
Throws:
org.apache.geronimo.common.DeploymentException


Copyright © 2006 Apache Software Foundation. All Rights Reserved.