Package org.jline.console.impl
Class Builtins
java.lang.Object
org.jline.console.impl.AbstractCommandRegistry
org.jline.console.impl.JlineCommandRegistry
org.jline.console.impl.Builtins
- All Implemented Interfaces:
CommandRegistry
Builtins: create tab completers, execute and create descriptions for builtins commands.
- Author:
- Matti Rinta-Nikkola
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.jline.console.CommandRegistry
CommandRegistry.CommandSession
-
Constructor Summary
ConstructorsConstructorDescriptionBuiltins
(Supplier<Path> workDir, ConfigurationPath configPath, Function<String, Widget> widgetCreator) Builtins
(Set<Builtins.Command> commands, Path workDir, ConfigurationPath configpath, Function<String, Widget> widgetCreator) Builtins
(Set<Builtins.Command> commands, Supplier<Path> workDir, ConfigurationPath configpath, Function<String, Widget> widgetCreator) -
Method Summary
Methods inherited from class org.jline.console.impl.JlineCommandRegistry
commandDescription, commandInfo, commandOptions, compileCommandDescription, compileCommandInfo, compileCommandOptions, defaultCompleter, parseOptions
Methods inherited from class org.jline.console.impl.AbstractCommandRegistry
alias, commandAliases, commandNames, compileCompleters, doHelpDesc, getCommandMethods, hasCommand, invoke, registerCommands, registerCommands, registeredCommand, rename, saveException
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jline.console.CommandRegistry
commandAliases, commandDescription, commandInfo, commandNames, compileCompleters, hasCommand, invoke, name
-
Constructor Details
-
Builtins
-
Builtins
public Builtins(Set<Builtins.Command> commands, Path workDir, ConfigurationPath configpath, Function<String, Widget> widgetCreator) -
Builtins
-
Builtins
public Builtins(Set<Builtins.Command> commands, Supplier<Path> workDir, ConfigurationPath configpath, Function<String, Widget> widgetCreator)
-
-
Method Details
-
setLineReader
-