Class CoverageInfo


  • public class CoverageInfo
    extends java.lang.Object
    This class represents result of coverage calculation. See CoverageCalculationService.
    • Constructor Detail

      • CoverageInfo

        public CoverageInfo​(double coverageIndex)
        Constructor with coverage index.
        Parameters:
        coverageIndex - coverage index is a number between 0 and 1 and represents percentage of coverage
    • Method Detail

      • getCoverageIndex

        public double getCoverageIndex()
        Returns the coverage index which is a number between 0 and 1 and represents percentage of coverage.
        Returns:
        the coverageIndex
      • getCoverageDescription

        public java.lang.String getCoverageDescription()
      • setCoverageDescriptionStrategy

        public void setCoverageDescriptionStrategy​(CoverageDescriptionStrategy coverageDescriptionStrategy)