Package com.aspectran.shell.command
Class AbstractCommandLine
- java.lang.Object
-
- com.aspectran.shell.command.AbstractCommandLine
-
- Direct Known Subclasses:
TransletCommandLine
public abstract 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 CommandLineParsergetLineParser()Returns the command line parser.ParameterMapgetParameterMap()Returns the parameters to pass to the execution target extracted from the command line.java.lang.StringgetRequestName()Returns the name of the request extracted from the command line.protected voidparse()
-
-
-
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()
-
-