Package com.aspectran.shell.command
Class AbstractCommandLine
- java.lang.Object
-
- com.aspectran.shell.command.AbstractCommandLine
-
- Direct Known Subclasses:
TransletCommandLine
public class AbstractCommandLine extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AbstractCommandLine(CommandLineParser lineParser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandLineParser
getLineParser()
Returns the command line parser.ParameterMap
getParameterMap()
Returns the parameters to pass to the execution target extracted from the command line.java.lang.String
getRequestName()
Returns the name of the request extracted from the command line.protected void
parse()
-
-
-
Constructor Detail
-
AbstractCommandLine
public AbstractCommandLine(CommandLineParser lineParser)
-
-
Method Detail
-
getLineParser
public CommandLineParser getLineParser()
Returns the command line parser.- Returns:
- the command line parser
-
getRequestName
public java.lang.String getRequestName()
Returns the name of the request extracted from the command line.- Returns:
- the request name
-
getParameterMap
public ParameterMap getParameterMap()
Returns the parameters to pass to the execution target extracted from the command line.- Returns:
- the parameter map
-
parse
protected void parse()
-
-