org.crsh.ssh.term.inline
Class SSHInlineShellProcessContext
java.lang.Object
org.crsh.ssh.term.inline.SSHInlineShellProcessContext
- All Implemented Interfaces:
- Appendable, InteractionContext, ShellProcessContext, Screenable, ScreenContext
public class SSHInlineShellProcessContext
- extends Object
- implements ShellProcessContext
ShellProcessContext for SSH inline commands
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
execute
public SSHInlineShellProcessContext execute()
takeAlternateBuffer
public boolean takeAlternateBuffer()
- Specified by:
takeAlternateBuffer in interface InteractionContext
releaseAlternateBuffer
public boolean releaseAlternateBuffer()
- Specified by:
releaseAlternateBuffer in interface InteractionContext
getWidth
public int getWidth()
- Specified by:
getWidth in interface ScreenContext
getHeight
public int getHeight()
- Specified by:
getHeight in interface ScreenContext
getProperty
public String getProperty(String name)
- Specified by:
getProperty in interface InteractionContext
readLine
public String readLine(String msg,
boolean echo)
- Specified by:
readLine in interface InteractionContext
append
public Appendable append(char c)
throws IOException
- Specified by:
append in interface Appendable
- Throws:
IOException
append
public Appendable append(CharSequence s)
throws IOException
- Specified by:
append in interface Appendable
- Throws:
IOException
append
public Appendable append(CharSequence csq,
int start,
int end)
throws IOException
- Specified by:
append in interface Appendable
- Throws:
IOException
append
public Screenable append(Style style)
throws IOException
- Specified by:
append in interface Screenable
- Throws:
IOException
cls
public Screenable cls()
throws IOException
- Specified by:
cls in interface Screenable
- Throws:
IOException
flush
public void flush()
throws IOException
- Specified by:
flush in interface ScreenContext
- Throws:
IOException
end
public void end(ShellResponse response)
- Specified by:
end in interface ShellProcessContext
Copyright © 2015 eXo Platform SAS. All Rights Reserved.