spec.harness.analyzer
Class CallbackAnalyzerExample.NumberResult

java.lang.Object
  extended by spec.harness.analyzer.AnalyzerResult
      extended by spec.harness.analyzer.CallbackAnalyzerExample.NumberResult
Enclosing class:
CallbackAnalyzerExample

public static class CallbackAnalyzerExample.NumberResult
extends AnalyzerResult


Field Summary
 
Fields inherited from class spec.harness.analyzer.AnalyzerResult
result
 
Constructor Summary
CallbackAnalyzerExample.NumberResult(double result, java.lang.String name, java.lang.String unit)
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getUnit()
           
 
Methods inherited from class spec.harness.analyzer.AnalyzerResult
getDescription, getResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallbackAnalyzerExample.NumberResult

public CallbackAnalyzerExample.NumberResult(double result,
                                            java.lang.String name,
                                            java.lang.String unit)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in class AnalyzerResult
Returns:
Name/description of what is monitored.

getUnit

public java.lang.String getUnit()
Specified by:
getUnit in class AnalyzerResult
Returns:
Unit of what is monitored.