public interface InteractionContext extends ScreenContext
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProperty(java.lang.String propertyName)
Returns a generic property, usually this property is resolved by the
shell client.
|
java.lang.String |
readLine(java.lang.String msg,
boolean echo)
Display a message and read a line on the console.
|
boolean |
releaseAlternateBuffer()
Release control of the alternate buffer.
|
boolean |
takeAlternateBuffer()
Take control of the alternate buffer.
|
getHeight, getWidth, writeboolean takeAlternateBuffer()
throws java.io.IOException
Flushable.flush() method
is invoked.java.io.IOExceptionboolean releaseAlternateBuffer()
throws java.io.IOException
Flushable.flush() method
is invoked.java.io.IOExceptionjava.lang.String getProperty(java.lang.String propertyName)
propertyName - the property namejava.lang.String readLine(java.lang.String msg,
boolean echo)
msg - the message to display before reading a lineecho - wether or not the line read should be echoed when typingCopyright © 2014 eXo Platform SAS. All Rights Reserved.