Uses of Class
org.jline.shell.CommandSession
Packages that use CommandSession
Package
Description
Clean shell API for building interactive command-line applications with JLine.
Default implementations of the shell API interfaces.
-
Uses of CommandSession in org.jline.console.impl
Methods in org.jline.console.impl with parameters of type CommandSessionModifier and TypeMethodDescriptionConsoleLineExpander.expand(String line, CommandSession session) -
Uses of CommandSession in org.jline.shell
Methods in org.jline.shell that return CommandSessionModifier and TypeMethodDescriptionCommandSession.fork(InputStream in, PrintStream out, PrintStream err) Creates a child session that shares the same terminal but uses independent I/O streams.Methods in org.jline.shell with parameters of type CommandSessionModifier and TypeMethodDescriptionCommand.execute(CommandSession session, String[] args) Executes this command with the given session and arguments.voidScriptRunner.execute(Path script, CommandSession session, CommandDispatcher dispatcher) Executes a script file.LineExpander.expand(String line, CommandSession session) Expands variables and expressions in the given command line. -
Uses of CommandSession in org.jline.shell.impl
Methods in org.jline.shell.impl that return CommandSessionModifier and TypeMethodDescriptionDefaultCommandDispatcher.session()Returns the command session used by this dispatcher.Methods in org.jline.shell.impl with parameters of type CommandSessionModifier and TypeMethodDescriptionvoidDefaultScriptRunner.execute(Path script, CommandSession session, CommandDispatcher dispatcher) DefaultLineExpander.expand(String line, CommandSession session) protected StringDefaultLineExpander.expandBracedExpression(String expr, CommandSession session) Expands a braced expression such asVAR,VAR:-default,VAR:=default,VAR:+alt, orVAR:?error.protected StringDefaultLineExpander.resolve(String name, CommandSession session) Resolves a variable name to its value.