org.apache.geronimo.cli.deployer
Class DeployerCLParser

java.lang.Object
  extended by org.apache.geronimo.cli.BaseCLParser
      extended by org.apache.geronimo.cli.deployer.DeployerCLParser
All Implemented Interfaces:
CLParser

public class DeployerCLParser
extends BaseCLParser


Field Summary
 
Fields inherited from class org.apache.geronimo.cli.BaseCLParser
commandLine, options, out
 
Constructor Summary
DeployerCLParser(OutputStream out)
           
 
Method Summary
protected  void addDriver()
           
protected  void addHost()
           
protected  void addOffline()
           
protected  void addOptionWithParam(String longOption, String shortOption, String argName, String desc)
           
protected  void addPassword()
           
protected  void addPort()
           
protected  void addSyserr()
           
protected  void addURI()
           
protected  void addUser()
           
protected  void addVerbose()
           
 void displayHelp()
           
protected  void displayHelp(String[] args)
           
 CommandArgs getCommandArgs()
           
 CommandMetaData getCommandMetaData()
           
protected  CommandMetaData getCommandMetaData(String commandName)
           
 String getDriver()
           
 String getHost()
           
 String getPassword()
           
 Integer getPort()
           
 String getURI()
           
 String getUser()
           
protected  String hangingIndent(String source, int cols)
           
 boolean isOffline()
           
 boolean isSyserr()
           
 boolean isVerbose()
           
protected  void validateOptions()
           
protected  void validateRemainingArgs()
           
 
Methods inherited from class org.apache.geronimo.cli.BaseCLParser
addHelp, addVerboseOptions, getArgs, isHelp, isVerboseDebug, isVerboseInfo, isVerboseTrace, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeployerCLParser

public DeployerCLParser(OutputStream out)
Method Detail

getCommandMetaData

public CommandMetaData getCommandMetaData()

getCommandArgs

public CommandArgs getCommandArgs()

getURI

public String getURI()

getHost

public String getHost()

getPort

public Integer getPort()

getDriver

public String getDriver()

getUser

public String getUser()

getPassword

public String getPassword()

isSyserr

public boolean isSyserr()

isVerbose

public boolean isVerbose()

isOffline

public boolean isOffline()

displayHelp

public void displayHelp()
Specified by:
displayHelp in interface CLParser
Overrides:
displayHelp in class BaseCLParser

displayHelp

protected void displayHelp(String[] args)
Overrides:
displayHelp in class BaseCLParser

getCommandMetaData

protected CommandMetaData getCommandMetaData(String commandName)

hangingIndent

protected String hangingIndent(String source,
                               int cols)

validateOptions

protected void validateOptions()
                        throws CLParserException
Overrides:
validateOptions in class BaseCLParser
Throws:
CLParserException

validateRemainingArgs

protected void validateRemainingArgs()
                              throws CLParserException
Overrides:
validateRemainingArgs in class BaseCLParser
Throws:
CLParserException

addOffline

protected void addOffline()

addVerbose

protected void addVerbose()

addSyserr

protected void addSyserr()

addPassword

protected void addPassword()

addUser

protected void addUser()

addDriver

protected void addDriver()

addPort

protected void addPort()

addHost

protected void addHost()

addURI

protected void addURI()

addOptionWithParam

protected void addOptionWithParam(String longOption,
                                  String shortOption,
                                  String argName,
                                  String desc)


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