edu.wisc.ssec.mcidasv.jython
Class RegisterCallbackCommand
java.lang.Object
edu.wisc.ssec.mcidasv.jython.Command
edu.wisc.ssec.mcidasv.jython.RegisterCallbackCommand
class RegisterCallbackCommand
- extends Command
Fields inherited from class edu.wisc.ssec.mcidasv.jython.Command |
console |
Method Summary |
void |
execute(Interpreter interpreter)
Hook to provide various implementations of command execution. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
callback
private final ConsoleCallback callback
RegisterCallbackCommand
public RegisterCallbackCommand(Console console,
ConsoleCallback callback)
execute
public void execute(Interpreter interpreter)
throws Exception
- Description copied from class:
Command
- Hook to provide various implementations of command execution.
- Specified by:
execute
in class Command
- Parameters:
interpreter
- Jython interpreter that will execute the command.
- Throws:
Exception
- An error was encountered executing the command. Jython
will catch three standard Python exceptions: SyntaxError, ValueError,
and OverflowError. Other exceptions are thrown.