|
Eclipse JDT Release 3.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IClassFileEvaluationEngine
An evaluation engine that performs evaluations by deploying and executing class files locally.
Method Summary | |
---|---|
void |
evaluate(String snippet,
IJavaThread thread,
IEvaluationListener listener,
boolean hitBreakpoints)
Asynchronously evaluates the given snippet in the specified target thread, reporting the result back to the given listener. |
String[] |
getImports()
Returns the import declarations for this evaluation context. |
void |
setImports(String[] imports)
Sets the import declarations for this evaluation context. |
Methods inherited from interface org.eclipse.jdt.debug.eval.IEvaluationEngine |
---|
dispose, evaluate, evaluate, getDebugTarget, getJavaProject |
Method Detail |
---|
String[] getImports()
"java.util.Hashtable"
or "java.util.*"
.
void setImports(String[] imports)
"java.util.Hashtable"
or "java.util.*"
.
imports
- the list of import namesvoid evaluate(String snippet, IJavaThread thread, IEvaluationListener listener, boolean hitBreakpoints) throws DebugException
snippet
- code snippet to evaluatethread
- the thread in which to run the evaluation, which must be
suspendedlistener
- the listener that will receive notification when/if the
evalaution completeshitBreakpoints
- whether or not breakpoints should be honored in the evaluation
thread during the evaluation. If false
,
breakpoints hit in the evaluation thread will be ignored.
DebugException
- if this method fails. Reasons include:
|
Eclipse JDT Release 3.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2013 IBM Corporation and others. All rights reserved.