View Javadoc

1   /*
2    * Created on 03-Nov-2004
3    */
4   package org.jdiagnose;
5   
6   import java.util.List;
7   
8   /***
9    * @author jmccrindle
10   */
11  public interface DiagnosticContainer {
12  
13      /***
14       * Returns the name of the diagnostic. Should be a Fully Qualified Name, usually 
15       * defaults to the classname (and method name in the case of the DiagnosticUnit)
16       * 
17       * @return the name of the diagnostic
18       */
19      String getName();
20  
21      /***
22       * Returns any children of this diagnostic.
23       * @return any children of this diagnostic, should be instance of org.jdiagnose.Diagnostic
24       */
25      List getDiagnostics();
26      
27      List getDiagnosticContainers();
28  
29  }