Package com.aspectran.shell.command
Class DefaultConsoleCommander
java.lang.Object
com.aspectran.shell.command.DefaultConsoleCommander
- All Implemented Interfaces:
ConsoleCommander
- Direct Known Subclasses:
JLineConsoleCommander
The Shell Command Runner.
Created: 2017. 6. 3.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
<T extends ShellConsole>
Tvoid
release()
void
run()
-
Constructor Details
-
DefaultConsoleCommander
-
-
Method Details
-
getConsole
- Specified by:
getConsole
in interfaceConsoleCommander
-
getCommandRegistry
- Specified by:
getCommandRegistry
in interfaceConsoleCommander
-
getShellService
- Specified by:
getShellService
in interfaceConsoleCommander
-
consoleReady
protected void consoleReady() -
configure
public void configure(@Nullable String basePath, @NonNull File aspectranConfigFile) throws Exception - Throws:
Exception
-
run
public void run() -
release
public void release()
-