public class ConsoleBeanShell extends Shell
Shell.CompletionInfo, Shell.ShellAction, Shell.SwitchAction, Shell.ToggleAction| Constructor and Description |
|---|
ConsoleBeanShell() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Console console,
java.lang.String input,
Output output,
Output error,
java.lang.String command)
Executes a command.
|
void |
printInfoMessage(Output output)
Prints a 'info' message to the specified console.
|
void |
printPrompt(Console console,
Output output)
Prints a prompt to the specified console.
|
void |
stop(Console console)
Stops the currently executing command, if any.
|
boolean |
waitFor(Console console)
Waits until any currently executing commands finish.
|
chDir, closeConsole, detach, endOfFile, execute, getCompletions, getName, getShell, getShellNames, handlesVFS, openConsole, toStringpublic void printInfoMessage(Output output)
ShellprintInfoMessage in class Shelloutput - The outputpublic void printPrompt(Console console, Output output)
printPrompt in class Shelloutput - The outputconsole - The console instancepublic void execute(Console console, java.lang.String input, Output output, Output error, java.lang.String command)
Shellexecute in class Shellconsole - The Console instance, to distinguish it from others when there are
multiple View or Console instances.input - optional string to feed into the command's Standard inputoutput - Standard output - the destination to send outputerror - Standard error - the destionation to send error messagescommand - The commandpublic void stop(Console console)
Shell