Uses of Class
org.jline.shell.CommandSession
-
Packages that use CommandSession Package Description org.jline.console.impl 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. -
-
Uses of CommandSession in org.jline.console.impl
Methods in org.jline.console.impl with parameters of type CommandSession Modifier and Type Method Description java.lang.StringConsoleLineExpander. expand(java.lang.String line, CommandSession session) -
Uses of CommandSession in org.jline.shell
Methods in org.jline.shell that return CommandSession Modifier and Type Method Description CommandSessionCommandSession. fork(java.io.InputStream in, java.io.PrintStream out, java.io.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 CommandSession Modifier and Type Method Description java.lang.ObjectCommand. execute(CommandSession session, java.lang.String[] args)Executes this command with the given session and arguments.voidScriptRunner. execute(java.nio.file.Path script, CommandSession session, CommandDispatcher dispatcher)Executes a script file.java.lang.StringLineExpander. expand(java.lang.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 CommandSession Modifier and Type Method Description CommandSessionDefaultCommandDispatcher. session()Returns the command session used by this dispatcher.Methods in org.jline.shell.impl with parameters of type CommandSession Modifier and Type Method Description voidDefaultScriptRunner. execute(java.nio.file.Path script, CommandSession session, CommandDispatcher dispatcher)java.lang.StringDefaultLineExpander. expand(java.lang.String line, CommandSession session)protected java.lang.StringDefaultLineExpander. expandBracedExpression(java.lang.String expr, CommandSession session)Expands a braced expression such asVAR,VAR:-default,VAR:=default,VAR:+alt, orVAR:?error.protected java.lang.StringDefaultLineExpander. resolve(java.lang.String name, CommandSession session)Resolves a variable name to its value.
-