|
||||||||||
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. |
String |
getProperty(String name)
Returns the property defined within this context. |
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 getProperty(String name)
name
- the name of the property
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 |