com.ebay.carad.os.vitalsigns.dataretrievers
Interface ITester

All Superinterfaces:
java.lang.Cloneable

public interface ITester
extends java.lang.Cloneable

Interface for any sort of logging functionality. It simply is invoked through .test() and returns a float value, which is intended to be logged somewhere.

Very useful for tests such as web tests logging overall time taken to perform entire test, etc...

Version:
$Id$
Author:
Jeremy Kraybill, Jeremy Thomerson

Field Summary
static ITester NO_OP_TESTER
           
 
Method Summary
 java.lang.Object clone()
           
 float test()
          Executes the test.
 

Field Detail

NO_OP_TESTER

static final ITester NO_OP_TESTER
Method Detail

test

float test()
Executes the test. If the test fails, the tester should throw a ReportingException rather than an Error.

Returns:
the time in seconds to execute the test (if it ran successfully), or whatever other data this tester logs.

clone

java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException


Copyright © 2004-2009. All Rights Reserved.