edu.wisc.ssec.mcidasv.jython
Class BatchCommand
java.lang.Object
edu.wisc.ssec.mcidasv.jython.Command
edu.wisc.ssec.mcidasv.jython.BatchCommand
class BatchCommand
- extends Command
Fields inherited from class edu.wisc.ssec.mcidasv.jython.Command |
console |
bufferSource
private final String bufferSource
commandBuffer
private final List<String> commandBuffer
BatchCommand
public BatchCommand(Console console,
String bufferSource,
List<String> buffer)
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.
toString
public String toString()
- Overrides:
toString
in class Object