Uses of Interface
org.jline.shell.CommandDispatcher
-
Packages that use CommandDispatcher Package Description org.jline.shell Clean shell API for building interactive command-line applications with JLine.org.jline.shell.impl Default implementations of the shell API interfaces.org.jline.shell.widget Widgets for the JLine shell API. -
-
Uses of CommandDispatcher in org.jline.shell
Methods in org.jline.shell that return CommandDispatcher Modifier and Type Method Description CommandDispatcherShell. dispatcher()Returns the command dispatcher used by this shell.Methods in org.jline.shell with parameters of type CommandDispatcher Modifier and Type Method Description ShellBuilderShellBuilder. dispatcher(CommandDispatcher dispatcher)Sets the command dispatcher.voidScriptRunner. execute(java.nio.file.Path script, CommandSession session, CommandDispatcher dispatcher)Executes a script file.Method parameters in org.jline.shell with type arguments of type CommandDispatcher Modifier and Type Method Description ShellBuilderShellBuilder. onReaderReady(java.util.function.BiConsumer<org.jline.reader.LineReader,CommandDispatcher> onReaderReady)Sets a callback invoked after the LineReader is created but beforeShell.run(). -
Uses of CommandDispatcher in org.jline.shell.impl
Classes in org.jline.shell.impl that implement CommandDispatcher Modifier and Type Class Description classDefaultCommandDispatcherDefault implementation ofCommandDispatcherthat supports pipeline execution.Methods in org.jline.shell.impl with parameters of type CommandDispatcher Modifier and Type Method Description voidDefaultScriptRunner. execute(java.nio.file.Path script, CommandSession session, CommandDispatcher dispatcher)Constructors in org.jline.shell.impl with parameters of type CommandDispatcher Constructor Description CommandHighlighter(CommandDispatcher dispatcher)Creates a command highlighter with no delegate.CommandHighlighter(CommandDispatcher dispatcher, org.jline.reader.Highlighter delegate)Creates a command highlighter with an optional delegate.HelpCommands(CommandDispatcher dispatcher)Creates help commands using the given dispatcher for command discovery.ScriptCommands(ScriptRunner scriptRunner, CommandDispatcher dispatcher)Creates the script commands group. -
Uses of CommandDispatcher in org.jline.shell.widget
Constructors in org.jline.shell.widget with parameters of type CommandDispatcher Constructor Description CommandTailTipWidgets(org.jline.reader.LineReader reader, CommandDispatcher dispatcher)Creates widgets using aCommandDispatcherfor dynamic description lookup.CommandTailTipWidgets(org.jline.reader.LineReader reader, CommandDispatcher dispatcher, int descriptionSize)Creates widgets using aCommandDispatcherwith a status bar.CommandTailTipWidgets(org.jline.reader.LineReader reader, CommandDispatcher dispatcher, int descriptionSize, CommandTailTipWidgets.TipType tipType)Creates widgets using aCommandDispatcherwith full configuration.
-