org.eclipse.test.internal.performance.eval
Class EmptyEvaluator

java.lang.Object
  extended by org.eclipse.test.internal.performance.eval.EmptyEvaluator
All Implemented Interfaces:
IEvaluator
Direct Known Subclasses:
Evaluator

public class EmptyEvaluator
extends java.lang.Object
implements IEvaluator

The empty evaluator. Does nothing.


Constructor Summary
EmptyEvaluator()
           
 
Method Summary
 void evaluate(PerformanceMeter performanceMeter)
          Evaluates the given performance meter by comparing its measurements against the reference data selected with setReferenceFilterProperties.
 void setAssertCheckers(AssertChecker[] asserts)
          Sets the asserts that should be evaluated by the evaluator.
 void setReferenceFilterProperties(java.lang.String driver, java.lang.String timestamp)
          Selects the reference build against which the current session will be compared in evaluate.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyEvaluator

public EmptyEvaluator()
Method Detail

evaluate

public void evaluate(PerformanceMeter performanceMeter)
              throws java.lang.RuntimeException
Description copied from interface: IEvaluator
Evaluates the given performance meter by comparing its measurements against the reference data selected with setReferenceFilterProperties.

Specified by:
evaluate in interface IEvaluator
Parameters:
performanceMeter - the performance meter
Throws:
java.lang.RuntimeException - when the comparison does not pass

setAssertCheckers

public void setAssertCheckers(AssertChecker[] asserts)
Description copied from interface: IEvaluator
Sets the asserts that should be evaluated by the evaluator.

Specified by:
setAssertCheckers in interface IEvaluator
Parameters:
asserts - the assert checkers that should be evaluated by the evaluator

setReferenceFilterProperties

public void setReferenceFilterProperties(java.lang.String driver,
                                         java.lang.String timestamp)
Description copied from interface: IEvaluator
Selects the reference build against which the current session will be compared in evaluate.

Specified by:
setReferenceFilterProperties in interface IEvaluator
timestamp - the timestamp of the reference, may be null to use any