edu.rice.cs.drjava.model.repl.newjvm
Class NewJVMTest.TestJVMExtension.TestResultHandler

java.lang.Object
  extended by edu.rice.cs.drjava.model.repl.newjvm.NewJVMTest.TestJVMExtension.TestResultHandler
All Implemented Interfaces:
InterpretResult.Visitor<Void>
Enclosing class:
NewJVMTest.TestJVMExtension

private class NewJVMTest.TestJVMExtension.TestResultHandler
extends Object
implements InterpretResult.Visitor<Void>


Constructor Summary
private NewJVMTest.TestJVMExtension.TestResultHandler()
           
 
Method Summary
 Void forBooleanValue(Boolean b)
           
 Void forBusy()
           
 Void forCharValue(Character c)
           
 Void forEvalException(String message, StackTraceElement[] stackTrace)
           
 Void forException(String message)
           
 Void forNoValue()
           
 Void forNumberValue(Number n)
           
 Void forObjectValue(String objString, String objTypeString)
           
 Void forStringValue(String s)
           
 Void forUnexpectedException(Throwable t)
           
private  void handleValueResult(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewJVMTest.TestJVMExtension.TestResultHandler

private NewJVMTest.TestJVMExtension.TestResultHandler()
Method Detail

forNoValue

public Void forNoValue()
Specified by:
forNoValue in interface InterpretResult.Visitor<Void>

forStringValue

public Void forStringValue(String s)
Specified by:
forStringValue in interface InterpretResult.Visitor<Void>

forCharValue

public Void forCharValue(Character c)
Specified by:
forCharValue in interface InterpretResult.Visitor<Void>

forNumberValue

public Void forNumberValue(Number n)
Specified by:
forNumberValue in interface InterpretResult.Visitor<Void>

forBooleanValue

public Void forBooleanValue(Boolean b)
Specified by:
forBooleanValue in interface InterpretResult.Visitor<Void>

forObjectValue

public Void forObjectValue(String objString,
                           String objTypeString)
Specified by:
forObjectValue in interface InterpretResult.Visitor<Void>

handleValueResult

private void handleValueResult(String s)

forEvalException

public Void forEvalException(String message,
                             StackTraceElement[] stackTrace)
Specified by:
forEvalException in interface InterpretResult.Visitor<Void>

forException

public Void forException(String message)
Specified by:
forException in interface InterpretResult.Visitor<Void>

forUnexpectedException

public Void forUnexpectedException(Throwable t)
Specified by:
forUnexpectedException in interface InterpretResult.Visitor<Void>

forBusy

public Void forBusy()
Specified by:
forBusy in interface InterpretResult.Visitor<Void>