Class Shell
java.lang.Object
org.springframework.boot.cli.command.shell.Shell
A shell for Spring Boot. Drops the user into an event loop (REPL) where command line
completion and history are available without relying on OS shell features.
- Since:
- 1.0.0
- Author:
- Jon Brisbin, Dave Syer, Phillip Webb
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Final handle an interrupt signal (CTRL-C).void
run()
Run the shell until the user exists.
-
Method Details
-
run
Run the shell until the user exists.- Throws:
Exception
- on error
-
handleSigInt
protected void handleSigInt()Final handle an interrupt signal (CTRL-C).
-