|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Shell
Provides access to execute commands.
| Method Summary | |
|---|---|
void |
close()
|
Object |
execute(CharSequence line)
|
Object |
execute(CharSequence command,
Object[] args)
|
Object |
execute(Object... args)
|
Branding |
getBranding()
|
History |
getHistory()
|
IO |
getIo()
|
Variables |
getVariables()
|
boolean |
isInteractive()
Check if the shell can be run interactively. |
boolean |
isOpened()
|
void |
run(Object... args)
Run the shell interactively. |
| Method Detail |
|---|
Branding getBranding()
IO getIo()
Variables getVariables()
History getHistory()
boolean isOpened()
void close()
Object execute(CharSequence line)
throws Exception
Exception
Object execute(CharSequence command,
Object[] args)
throws Exception
Exception
Object execute(Object... args)
throws Exception
Exceptionboolean isInteractive()
void run(Object... args)
throws Exception
args - The initial commands to execute interactively.
Exception - Failed to execute commands.
UnsupportedOperationException - The shell does not support interactive execution.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||