public class CLICommandInvocationBuilder.ShellImpl extends Object implements org.aesh.command.shell.Shell
| Constructor and Description |
|---|
ShellImpl(ReadlineConsole console,
CommandContextImpl ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
enableAlternateBuffer() |
boolean |
enableMainBuffer() |
org.aesh.readline.terminal.Key |
read() |
org.aesh.readline.terminal.Key |
read(org.aesh.readline.Prompt prompt) |
String |
readLine() |
String |
readLine(org.aesh.readline.Prompt prompt) |
org.aesh.terminal.tty.Size |
size() |
void |
write(char out) |
void |
write(int[] out) |
void |
write(String out,
boolean paging) |
void |
writeln(String out,
boolean paging) |
public ShellImpl(ReadlineConsole console, CommandContextImpl ctx)
public void write(String out, boolean paging)
write in interface org.aesh.command.shell.Shellpublic void write(char out)
write in interface org.aesh.command.shell.Shellpublic void writeln(String out, boolean paging)
writeln in interface org.aesh.command.shell.Shellpublic void write(int[] out)
write in interface org.aesh.command.shell.Shellpublic String readLine() throws InterruptedException
readLine in interface org.aesh.command.shell.ShellInterruptedExceptionpublic String readLine(org.aesh.readline.Prompt prompt) throws InterruptedException
readLine in interface org.aesh.command.shell.ShellInterruptedExceptionpublic org.aesh.readline.terminal.Key read()
throws InterruptedException
read in interface org.aesh.command.shell.ShellInterruptedExceptionpublic org.aesh.readline.terminal.Key read(org.aesh.readline.Prompt prompt)
throws InterruptedException
read in interface org.aesh.command.shell.ShellInterruptedExceptionpublic boolean enableAlternateBuffer()
enableAlternateBuffer in interface org.aesh.command.shell.Shellpublic boolean enableMainBuffer()
enableMainBuffer in interface org.aesh.command.shell.Shellpublic org.aesh.terminal.tty.Size size()
size in interface org.aesh.command.shell.Shellpublic void clear()
clear in interface org.aesh.command.shell.ShellCopyright © 2018 JBoss by Red Hat. All rights reserved.