|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ShellProcessContext
The process context is the main interaction interface between a shell process and its context.
| Method Summary | |
|---|---|
void |
end(ShellResponse response)
This method is invoked when the process ends. |
int |
getWidth()
Returns the term width in chars. |
String |
readLine(String msg,
boolean echo)
A callback made by the process when it needs to read a line of text on the term. |
| Method Detail |
|---|
int getWidth()
String readLine(String msg,
boolean echo)
msg - the message to display prior reading the termecho - whether the input line should be echoed or not
void end(ShellResponse response)
response - the shell response
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||