org.jdiagnose
Interface Diagnostic

All Known Subinterfaces:
DiagnosticUnitLifeCycle
All Known Implementing Classes:
DelegatingDiagnosticUnit, DiagnosticUnit

public interface Diagnostic

This is the primary interface for JDiagnose. Classes that implement this interface are expected to have a name and possibly some children. Once the diagnose method is called, the Diagnostic should notify listeners of the progress or the diagnosis. User: jamie Date: May 29, 2004 Time: 10:19:56 PM


Method Summary
 void diagnose()
          Run this diagnostic.
 java.lang.String getName()
          Returns the name of the diagnostic.
 

Method Detail

getName

public java.lang.String getName()
Returns the name of the diagnostic. Should be a Fully Qualified Name, usually defaults to the classname (and method name in the case of the DiagnosticUnit)

Returns:
the name of the diagnostic

diagnose

public void diagnose()
              throws DiagnosticException
Run this diagnostic.

Throws:
DiagnosticException - if the diagnostic failed


Copyright © 2004-2005 Grape Design Limited. All Rights Reserved.