Class StreamShell

java.lang.Object
org.infinispan.cli.impl.StreamShell
All Implemented Interfaces:
org.aesh.command.shell.Shell

public class StreamShell extends Object implements org.aesh.command.shell.Shell
Since:
14.0
  • Constructor Details

  • Method Details

    • write

      public void write(String msg, boolean paging)
      Specified by:
      write in interface org.aesh.command.shell.Shell
    • writeln

      public void writeln(String msg, boolean paging)
      Specified by:
      writeln in interface org.aesh.command.shell.Shell
    • write

      public void write(int[] cp)
      Specified by:
      write in interface org.aesh.command.shell.Shell
    • write

      public void write(char c)
      Specified by:
      write in interface org.aesh.command.shell.Shell
    • readLine

      public String readLine() throws InterruptedException
      Specified by:
      readLine in interface org.aesh.command.shell.Shell
      Throws:
      InterruptedException
    • readLine

      public String readLine(org.aesh.readline.Prompt prompt) throws InterruptedException
      Specified by:
      readLine in interface org.aesh.command.shell.Shell
      Throws:
      InterruptedException
    • read

      public org.aesh.readline.terminal.Key read() throws InterruptedException
      Specified by:
      read in interface org.aesh.command.shell.Shell
      Throws:
      InterruptedException
    • read

      public org.aesh.readline.terminal.Key read(org.aesh.readline.Prompt prompt) throws InterruptedException
      Specified by:
      read in interface org.aesh.command.shell.Shell
      Throws:
      InterruptedException
    • enableAlternateBuffer

      public boolean enableAlternateBuffer()
      Specified by:
      enableAlternateBuffer in interface org.aesh.command.shell.Shell
    • enableMainBuffer

      public boolean enableMainBuffer()
      Specified by:
      enableMainBuffer in interface org.aesh.command.shell.Shell
    • size

      public org.aesh.terminal.tty.Size size()
      Specified by:
      size in interface org.aesh.command.shell.Shell
    • clear

      public void clear()
      Specified by:
      clear in interface org.aesh.command.shell.Shell