Package edu.wisc.ssec.mcidasv.jython
Class EjectCommand
java.lang.Object
edu.wisc.ssec.mcidasv.jython.Command
edu.wisc.ssec.mcidasv.jython.EjectCommand
This class represents a
Command that removes an object from the
local namespace of an Interpreter. These commands can remove any
Jython objects, while InjectCommand may only inject Java objects.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEjectCommand(Console console, String name) Creates an ejection command forname. -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(Interpreter interpreter) Attempts to remove whatever Jython knows asnamefrom the local namespace ofinterpreter.toString()Methods inherited from class edu.wisc.ssec.mcidasv.jython.Command
getInputStream
-
Field Details
-
name
Name of the Jython object to remove.
-
-
Constructor Details
-
EjectCommand
Creates an ejection command forname.- Parameters:
console- Console that requestedname's removal.name- Name of the Jython object that needs removin'.
-
-
Method Details
-
execute
Attempts to remove whatever Jython knows asnamefrom the local namespace ofinterpreter. -
toString
-