org.apache.geronimo.deployment.cli
Interface DeployCommand

All Known Implementing Classes:
AbstractCommand

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.

Version:
$Rev: 355877 $ $Date: 2005-12-11 03:48:27 +0100 (Sun, 11 Dec 2005) $

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

Method Detail

getCommandGroup

public String getCommandGroup()

getCommandName

public String getCommandName()

getHelpArgumentList

public String getHelpArgumentList()

getHelpText

public String getHelpText()

isLocalOnly

public boolean isLocalOnly()

execute

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


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.