public class JLineShell extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
JLineShell.BuiltIns
The set of built in commands.
|
static class |
JLineShell.SetCommands
An enumeration of the arguments to the set command.
|
| Constructor and Description |
|---|
JLineShell(CommandSet userCommands)
Creates a JLineShell with the given set of user commands.
|
JLineShell(CommandSet userCommands,
jline.console.ConsoleReader reader) |
public JLineShell(CommandSet userCommands) throws IOException
userCommands - The user defined commands which will be merged with
the built-in commands provided by the shell itself. The CommandSet passed
in can change dynamically (for example if it is in fact a
CompositeCommandSet commands can be added and removed dynamically).IOException - If something goes horribly wrong.public JLineShell(CommandSet userCommands, jline.console.ConsoleReader reader)
public void run()
throws IOException
IOException - If something goes horribly wrong.Copyright © 2013 LSST. All Rights Reserved.