Interface CoverageInfo

All Known Implementing Classes:
CoverageInfoImpl

public interface CoverageInfo
An interface providing methods to access coverage information
  • Method Summary

    Modifier and Type
    Method
    Description
    default CoveredFrom
    Returns coverage location
    Returns an unmodifiable List specifying what is included in the coverage
    Returns the level of the available coverage
    boolean
    Returns a value indicating whether the coverage represented by current instance is live coverage
  • Method Details

    • getLevel

      String getLevel()
      Returns the level of the available coverage
      Returns:
      - the level of the available coverage
    • isLive

      boolean isLive()
      Returns a value indicating whether the coverage represented by current instance is live coverage
      Returns:
      - a value indicating whether the coverage represented by current instance is live coverage
    • getIncludes

      List<String> getIncludes()
      Returns an unmodifiable List specifying what is included in the coverage
      Returns:
      - if available, an unmodifiable List specifying what is included in the coverage; otherwise null
    • getCoveredFrom

      default CoveredFrom getCoveredFrom()
      Returns coverage location
      Returns:
      - coverage location