com.sun.javatest
Interface TestResultTable.Observer

Enclosing class:
TestResultTable

public static interface TestResultTable.Observer

Observer to monitor changes to a TestResultTable.


Method Summary
 void update(TestResult oldValue, TestResult newValue)
          The oldValue has been replaced by the newValue.
 void updated(TestResult whichTR)
          The given test was changed, but previously existed in this TRT.
 

Method Detail

update

void update(TestResult oldValue,
            TestResult newValue)
The oldValue has been replaced by the newValue.

Parameters:
oldValue - Previous value being overwritten.
newValue - The new value stored in the TRT.

updated

void updated(TestResult whichTR)
The given test was changed, but previously existed in this TRT. This is not a guarantee of change, but is the best possible hint.

Parameters:
whichTR - The test which was altered.


Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.