class RegisterCallbackCommand extends Command
| Modifier and Type | Field and Description |
|---|---|
private ConsoleCallback |
callback |
| Constructor and Description |
|---|
RegisterCallbackCommand(Console console,
ConsoleCallback callback) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Interpreter interpreter)
Hook to provide various implementations of command execution.
|
getInputStreamprivate final ConsoleCallback callback
public RegisterCallbackCommand(Console console, ConsoleCallback callback)
public void execute(Interpreter interpreter) throws java.lang.Exception
Commandexecute in class Commandinterpreter - Jython interpreter that will execute the command.java.lang.Exception - An error was encountered executing the command. Jython
will catch three standard Python exceptions: SyntaxError, ValueError,
and OverflowError. Other exceptions are thrown.