Interface ICCResultInfo

All Known Implementing Classes:
CCEmptyResult

public interface ICCResultInfo
Result info, fields with information about the result(s)
Since:
3.1
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the completed time This represents the time that the processing was completed
    long
    If available this is the date/time that the result was created.
    long
    Total elapsed time for all merged results This is calculated by adding the elapsed time of each testcase.
    getImportInfo(boolean successful)
    Returns an array of import information as discovered by the registered importers
    Returns an array of tags included in the merged results This returns the value(s) of the tag attribute in the included results
  • Method Details

    • getTags

      String[] getTags()
      Returns an array of tags included in the merged results This returns the value(s) of the tag attribute in the included results
      Returns:
      array of Strings
    • getElapsedTime

      long getElapsedTime()
      Total elapsed time for all merged results This is calculated by adding the elapsed time of each testcase. It relies on the elapsed times being set in each testcase and older cc results may not be correct if some testcases don't have the value set. If the exact time is required then it is recommended that testcase be checked to determine it is has a valid (or non-zero) elapsed time
      Returns:
      total elapsed time in milliseconds
    • getCompletedTime

      long getCompletedTime()
      Returns the completed time This represents the time that the processing was completed
      Returns:
      completed time in milliseconds
    • getCreatedTime

      long getCreatedTime()
      If available this is the date/time that the result was created. For results that contain 1 testcase this is the time the original data was collected For merged results this is the time the merged result was created. Use ICCTestcase.getStartTime() to get a testcase capture time
      Returns:
      creation time in milliseconds
      Since:
      9.0
    • getImportInfo

      ICCImportInfo[] getImportInfo(boolean successful)
      Returns an array of import information as discovered by the registered importers
      Parameters:
      successful - if true then only successful imports returned. If false then failed imports are returned
      Returns:
      zero or more import information objects
      Since:
      4.0