Modifier and Type | Method and Description |
---|---|
JShell |
JShell.Builder.build()
Build a JShell state engine.
|
static JShell |
JShell.create()
Create a new JShell state engine.
|
Modifier and Type | Method and Description |
---|---|
abstract JShell.Subscription |
JShell.onShutdown(java.util.function.Consumer<JShell> listener)
Register a callback to be called when this JShell instance terminates.
|