jigcell.compare
Interface IEvaluationListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
EvaluationErrorViewer, TransformDebugger.DebuggerThread

public interface IEvaluationListener
extends java.util.EventListener

A listener for data generator evaluation events.

This code is licensed under the DARPA BioCOMP Open Source License. See LICENSE for more details.

Author:
Nicholas Allen

Method Summary
 void evaluationError(IProgrammableDataGenerator source, java.lang.Throwable t)
          Notification that an error occurred during evaluation.
 void evaluationStart(IProgrammableDataGenerator source)
          Notification for the start of an evaluation.
 void evaluationStop(IProgrammableDataGenerator source, IDataElement result)
          Notification for the end of an evaluation.
 

Method Detail

evaluationError

void evaluationError(IProgrammableDataGenerator source,
                     java.lang.Throwable t)
Notification that an error occurred during evaluation. This notification is made before any error recovery is attempted.

Parameters:
source - Generator
t - Throwable

evaluationStart

void evaluationStart(IProgrammableDataGenerator source)
Notification for the start of an evaluation. This notification is made before any locks are acquired.

Parameters:
source - Generator

evaluationStop

void evaluationStop(IProgrammableDataGenerator source,
                    IDataElement result)
Notification for the end of an evaluation. This notification is made after the result has been computed and all locks have been released.

Parameters:
source - Generator
result - Evaluation result