Package org.jboss.as.cli.impl.aesh
Class CLICommandInvocationBuilder.ShellImpl
- java.lang.Object
-
- org.jboss.as.cli.impl.aesh.CLICommandInvocationBuilder.ShellImpl
-
- All Implemented Interfaces:
org.aesh.command.shell.Shell
- Enclosing class:
- CLICommandInvocationBuilder
public class CLICommandInvocationBuilder.ShellImpl extends Object implements org.aesh.command.shell.Shell
-
-
Constructor Summary
Constructors Constructor Description ShellImpl(ReadlineConsole console, CommandContextImpl ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleanenableAlternateBuffer()booleanenableMainBuffer()org.aesh.readline.terminal.Keyread()org.aesh.readline.terminal.Keyread(org.aesh.readline.Prompt prompt)StringreadLine()StringreadLine(org.aesh.readline.Prompt prompt)org.aesh.terminal.tty.Sizesize()voidwrite(char out)voidwrite(int[] out)voidwrite(String out, boolean paging)voidwriteln(String out, boolean paging)
-
-
-
Constructor Detail
-
ShellImpl
public ShellImpl(ReadlineConsole console, CommandContextImpl ctx)
-
-
Method Detail
-
write
public void write(String out, boolean paging)
- Specified by:
writein interfaceorg.aesh.command.shell.Shell
-
write
public void write(char out)
- Specified by:
writein interfaceorg.aesh.command.shell.Shell
-
writeln
public void writeln(String out, boolean paging)
- Specified by:
writelnin interfaceorg.aesh.command.shell.Shell
-
write
public void write(int[] out)
- Specified by:
writein interfaceorg.aesh.command.shell.Shell
-
readLine
public String readLine() throws InterruptedException
- Specified by:
readLinein interfaceorg.aesh.command.shell.Shell- Throws:
InterruptedException
-
readLine
public String readLine(org.aesh.readline.Prompt prompt) throws InterruptedException
- Specified by:
readLinein interfaceorg.aesh.command.shell.Shell- Throws:
InterruptedException
-
read
public org.aesh.readline.terminal.Key read() throws InterruptedException- Specified by:
readin interfaceorg.aesh.command.shell.Shell- Throws:
InterruptedException
-
read
public org.aesh.readline.terminal.Key read(org.aesh.readline.Prompt prompt) throws InterruptedException- Specified by:
readin interfaceorg.aesh.command.shell.Shell- Throws:
InterruptedException
-
enableAlternateBuffer
public boolean enableAlternateBuffer()
- Specified by:
enableAlternateBufferin interfaceorg.aesh.command.shell.Shell
-
enableMainBuffer
public boolean enableMainBuffer()
- Specified by:
enableMainBufferin interfaceorg.aesh.command.shell.Shell
-
size
public org.aesh.terminal.tty.Size size()
- Specified by:
sizein interfaceorg.aesh.command.shell.Shell
-
clear
public void clear()
- Specified by:
clearin interfaceorg.aesh.command.shell.Shell
-
-