View Javadoc

1   /*
2    * Created on 03-Nov-2004
3    */
4   package org.jdiagnose.runtime;
5   
6   import java.util.List;
7   
8   import org.jdiagnose.DiagnosticContainer;
9   import org.jdiagnose.ResultInfo;
10  
11  /***
12   * @author jmccrindle
13   */
14  public interface DiagnosticContainerResult extends ResultInfo {
15      
16      /***
17       * @return the total number of diagnostics represented by this
18       * result and its children
19       */
20      int getTotalDiagnostics();
21  
22      /***
23       * @return the number of children diagnostics that have failed (so far)
24       */
25      int getFailedDiagnostics();
26  
27      /***
28       * @return the number of children diagnostics that have succeeded (so far)
29       */
30      int getSuccessfulDiagnostics();
31  
32      /***
33       * @return children results, may be null
34       */
35      List getResults();
36      
37      List getContainerResults();
38      
39      DiagnosticContainer getDiagnosticContainer();
40  
41  }