Package com.aspectran.shell.command
Class ShellCommandRunner
- java.lang.Object
-
- com.aspectran.shell.command.ShellCommandRunner
-
- All Implemented Interfaces:
CommandRunner
public class ShellCommandRunner extends java.lang.Object implements CommandRunner
The Shell Command Runner.Created: 2017. 6. 3.
-
-
Constructor Summary
Constructors Constructor Description ShellCommandRunner(ShellConsole console)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandRegistrygetCommandRegistry()ShellConsolegetConsole()ShellServicegetShellService()voidinit(java.lang.String basePath, java.io.File aspectranConfigFile)voidrelease()voidrun()
-
-
-
Constructor Detail
-
ShellCommandRunner
public ShellCommandRunner(@NonNull ShellConsole console)
-
-
Method Detail
-
getConsole
public ShellConsole getConsole()
- Specified by:
getConsolein interfaceCommandRunner
-
getCommandRegistry
public CommandRegistry getCommandRegistry()
- Specified by:
getCommandRegistryin interfaceCommandRunner
-
getShellService
public ShellService getShellService()
- Specified by:
getShellServicein interfaceCommandRunner
-
init
public void init(@Nullable java.lang.String basePath, java.io.File aspectranConfigFile) throws java.lang.Exception
- Throws:
java.lang.Exception
-
run
public void run()
-
release
public void release()
-
-