org.jdiagnose.library
Class PingableDiagnostic
java.lang.Object
org.jdiagnose.DiagnosticUnit
org.jdiagnose.library.PingableDiagnostic
- All Implemented Interfaces:
- Diagnostic, DiagnosticContainer, DiagnosticUnitLifeCycle
- public class PingableDiagnostic
- extends DiagnosticUnit
Diagnoses an object that implements the Pingable interface
- Author:
- jmccrindle
- See Also:
Pingable
Methods inherited from class org.jdiagnose.DiagnosticUnit |
assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertTrue, assertTrue, diagnose, getDiagnosticContainers, getDiagnostics, getName, setUp, tearDown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PingableDiagnostic
public PingableDiagnostic()
- Creates a new DiagnosticUnit. It's name defaults to the FQ class name.
PingableDiagnostic
public PingableDiagnostic(java.lang.String name,
Pingable pingable)
- Create a new DiagnosticUnit with a Fully Qualified Name
- Parameters:
name
- the name of this diagnostic.
PingableDiagnostic
public PingableDiagnostic(Pingable pingable)
- Creates a new DiagnosticUnit. It's name defaults to the FQ class name.
diagnosePing
public void diagnosePing()
throws java.lang.Throwable
- Throws:
java.lang.Throwable
getPingable
public Pingable getPingable()
setPingable
public void setPingable(Pingable pingable)
Copyright © 2004-2005 Grape Design Limited. All Rights Reserved.