Package com.aspectran.shell.command
Class ShellCommandInterpreter
- java.lang.Object
-
- com.aspectran.shell.command.ShellCommandInterpreter
-
- All Implemented Interfaces:
CommandInterpreter
public class ShellCommandInterpreter extends java.lang.Object implements CommandInterpreter
The Shell Command Interpreter.Created: 2017. 6. 3.
-
-
Constructor Summary
Constructors Constructor Description ShellCommandInterpreter(Console console)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandRegistry
getCommandRegistry()
Console
getConsole()
ShellService
getService()
void
init(java.lang.String basePath, java.io.File aspectranConfigFile)
void
perform()
void
release()
-
-
-
Constructor Detail
-
ShellCommandInterpreter
public ShellCommandInterpreter(Console console)
-
-
Method Detail
-
getConsole
public Console getConsole()
- Specified by:
getConsole
in interfaceCommandInterpreter
-
getCommandRegistry
public CommandRegistry getCommandRegistry()
- Specified by:
getCommandRegistry
in interfaceCommandInterpreter
-
getService
public ShellService getService()
- Specified by:
getService
in interfaceCommandInterpreter
-
init
public void init(@Nullable java.lang.String basePath, java.io.File aspectranConfigFile) throws java.lang.Exception
- Throws:
java.lang.Exception
-
perform
public void perform()
-
release
public void release()
-
-