|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InterpreterJVMRemoteI
This interface specifies the methods that the interpreter JVM exposes for the MainJVM to call.
| Method Summary | |
|---|---|
void |
addBuildDirectoryClassPath(File f)
Adds the given path to the classpath shared by ALL Java interpreters. |
void |
addExternalFilesClassPath(File f)
Adds the given path to the classpath shared by ALL Java interpreters. |
void |
addExtraClassPath(File f)
Adds the given path to the classpath shared by ALL Java interpreters. |
void |
addInterpreter(String name)
Adds a named Interpreter to the list. |
void |
addProjectClassPath(File f)
Adds the given path to the classpath shared by ALL Java interpreters. |
void |
addProjectFilesClassPath(File f)
Adds the given path to the classpath shared by ALL Java interpreters. |
List<String> |
findTestClasses(List<String> classNames,
List<File> files)
|
List<File> |
getClassPath()
Returns the current class path. |
String |
getVariableToString(String var)
Gets the string representation of the value of a variable in the current interpreter. |
String |
getVariableType(String var)
Gets the type of a variable in the current interpreter. |
InterpretResult |
interpret(String s)
Interprets the given string of source code in the active interpreter. |
void |
removeInterpreter(String name)
Removes the interpreter with the given name, if it exists. |
boolean |
runTestSuite()
|
boolean |
setActiveInterpreter(String name)
Sets the current interpreter to be the one specified by the given name |
void |
setPrivateAccessible(boolean allow)
Sets whether to allow private access. |
void |
setShowMessageOnResetFailure(boolean show)
|
boolean |
setToDefaultInterpreter()
Sets the default interpreter to be active. |
| Methods inherited from interface edu.rice.cs.util.newjvm.SlaveRemote |
|---|
quit, start |
| Method Detail |
|---|
List<String> findTestClasses(List<String> classNames,
List<File> files)
throws RemoteException
RemoteException
boolean runTestSuite()
throws RemoteException
RemoteException
void setShowMessageOnResetFailure(boolean show)
throws RemoteException
show - Whether to show a message if a reset operation fails.
RemoteException
void setPrivateAccessible(boolean allow)
throws RemoteException
RemoteException
void addInterpreter(String name)
throws RemoteException
name - the unique name for the interpreter
IllegalArgumentException - if the name is not unique
RemoteException
void removeInterpreter(String name)
throws RemoteException
name - Name of the interpreter to remove
RemoteException
boolean setActiveInterpreter(String name)
throws RemoteException
name - the unique name of the interpreter to set active
RemoteException
boolean setToDefaultInterpreter()
throws RemoteException
RemoteException
InterpretResult interpret(String s)
throws RemoteException
s - Source code to interpret.
RemoteException
String getVariableToString(String var)
throws RemoteException
var - the name of the variable
RemoteException
String getVariableType(String var)
throws RemoteException
var - the name of the variable
RemoteException
List<File> getClassPath()
throws RemoteException
RemoteException
void addProjectClassPath(File f)
throws RemoteException
f - Entry to add to the accumulated classpath
RemoteException
void addBuildDirectoryClassPath(File f)
throws RemoteException
f - Entry to add to the accumulated classpath
RemoteException
void addProjectFilesClassPath(File f)
throws RemoteException
f - Entry to add to the accumulated classpath
RemoteException
void addExternalFilesClassPath(File f)
throws RemoteException
f - Entry to add to the accumulated classpath
RemoteException
void addExtraClassPath(File f)
throws RemoteException
f - Entry to add to the accumulated classpath
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||