java.lang.Object
com.jenkins.testresultsaggregator.data.Results
All Implemented Interfaces:
Serializable

public class Results extends Object implements Serializable
See Also:
  • Constructor Details

    • Results

      public Results()
    • Results

      public Results(String status, String url)
  • Method Details

    • calculate

      public Results calculate(Job job)
    • addResults

      public Results addResults(Results resultsDTO)
    • getPass

      public int getPass()
    • setPass

      public void setPass(int pass)
    • getPassDif

      public int getPassDif()
    • setPassDif

      public void setPassDif(int passDif)
    • getFail

      public int getFail()
    • setFail

      public void setFail(int fail)
    • getFailDif

      public int getFailDif()
    • setFailDif

      public void setFailDif(int failDif)
    • getSkip

      public int getSkip()
    • setSkip

      public void setSkip(int skip)
    • getSkipDif

      public int getSkipDif()
    • setSkipDif

      public void setSkipDif(int skipDif)
    • getTotal

      public int getTotal()
    • setTotal

      public void setTotal(int total)
    • getTotalDif

      public int getTotalDif()
    • setTotalDif

      public void setTotalDif(int totalDif)
    • getNumber

      public int getNumber()
    • setNumber

      public void setNumber(int number)
    • getNumberReport

      public String getNumberReport(boolean withLinktoResults)
    • getDuration

      public Long getDuration()
    • setDuration

      public void setDuration(Long duration)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • isBuilding

      public boolean isBuilding()
    • setBuilding

      public void setBuilding(boolean building)
    • getNumberOfChanges

      public int getNumberOfChanges()
    • setNumberOfChanges

      public void setNumberOfChanges(int numberOfChanges)
    • getChangesUrl

      public String getChangesUrl()
    • setChangesUrl

      public void setChangesUrl(String changesUrl)
    • getTimestamp

      public String getTimestamp()
    • setTimestamp

      public void setTimestamp(String timestamp)
    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)
    • getPercentage

      public Double getPercentage()
    • setPercentage

      public void setPercentage(Double percentage)
    • getStatus

      public String getStatus()
    • getStatusColor

      public String getStatusColor()
    • getStatusColor

      public String getStatusColor(boolean withLinktoResults)
    • getStatusPlain

      public String getStatusPlain()
    • getCalculatedCcPackage

      public String getCalculatedCcPackage()
    • getCcPackages

      public int getCcPackages()
    • setCcPackages

      public void setCcPackages(int ccPackages)
    • getCcPackagesDif

      public int getCcPackagesDif()
    • setCcPackagesDif

      public void setCcPackagesDif(int ccPackagesDif)
    • getCalculatedCcFiles

      public String getCalculatedCcFiles()
    • getCcFiles

      public Integer getCcFiles()
    • setCcFiles

      public void setCcFiles(Integer ccFiles)
    • getCcFilesDif

      public Integer getCcFilesDif()
    • setCcFilesDif

      public void setCcFilesDif(Integer ccFilesDif)
    • getCalculatedCcClasses

      public String getCalculatedCcClasses()
    • getCcClasses

      public Integer getCcClasses()
    • setCcClasses

      public void setCcClasses(Integer ccClasses)
    • getCcClassesDif

      public Integer getCcClassesDif()
    • setCcClassesDif

      public void setCcClassesDif(Integer ccClassesDif)
    • getCalculatedCcMethods

      public String getCalculatedCcMethods()
    • getCcMethods

      public Integer getCcMethods()
    • setCcMethods

      public void setCcMethods(Integer ccMethods)
    • getCcMethodsDif

      public Integer getCcMethodsDif()
    • setCcMethodsDif

      public void setCcMethodsDif(Integer ccMethodsDif)
    • getCalculatedCcLines

      public String getCalculatedCcLines()
    • setCcLines

      public void setCcLines(int ccLines)
    • getCcLinesDif

      public Integer getCcLinesDif()
    • setCcLinesDif

      public void setCcLinesDif(Integer ccLinesDif)
    • getCalculatedCcConditions

      public String getCalculatedCcConditions()
    • getCcConditions

      public Integer getCcConditions()
    • setCcConditions

      public void setCcConditions(Integer ccConditions)
    • getCcConditionsDif

      public Integer getCcConditionsDif()
    • setCcConditionsDif

      public void setCcConditionsDif(Integer ccConditionsDif)
    • getSonarUrl

      public String getSonarUrl()
    • setSonarUrl

      public void setSonarUrl(String sonarUrl)
    • getPassReport

      public String getPassReport()
    • setPassReport

      public void setPassReport(String passReport)
    • getFailReport

      public String getFailReport()
    • setFailReport

      public void setFailReport(String failReport)
    • getSkipReport

      public String getSkipReport()
    • setSkipReport

      public void setSkipReport(String skipReport)
    • getTotalReport

      public String getTotalReport()
    • setTotalReport

      public void setTotalReport(String totalReport)
    • calculateDuration

      public String calculateDuration(Long millis)
    • calculateTotal

      public void calculateTotal(Job job)
    • calculatePass

      public void calculatePass(Job job)
    • calculateFailed

      public void calculateFailed(Job job)
    • calculateSkipped

      public void calculateSkipped(Job job)
    • calculateTimestamp

      public String calculateTimestamp(Job job, String outOfDateResults)
    • calculateChanges

      public String calculateChanges(Job job)
    • calculateSonar

      public String calculateSonar(Job job)
    • calculateCCPackages

      public String calculateCCPackages(Job job)
    • calculateCCFiles

      public String calculateCCFiles(Job job)
    • calculateCCClasses

      public String calculateCCClasses(Job job)
    • calculateCCMethods

      public String calculateCCMethods(Job job)
    • calculateCCLines

      public String calculateCCLines(Job job)
    • calculateCCConditions

      public String calculateCCConditions(Job job)
    • getCcPackagesReport

      public String getCcPackagesReport()
    • setCcPackagesReport

      public void setCcPackagesReport(String ccPackagesReport)
    • getCcFilesReport

      public String getCcFilesReport()
    • setCcFilesReport

      public void setCcFilesReport(String ccFilesReport)
    • getCcClassesReport

      public String getCcClassesReport()
    • setCcClassesReport

      public void setCcClassesReport(String ccClassesReport)
    • getCcMethodsReport

      public String getCcMethodsReport()
    • setCcMethodsReport

      public void setCcMethodsReport(String ccMethodsReport)
    • getCcLinesReport

      public String getCcLinesReport()
    • setCcLinesReport

      public void setCcLinesReport(String ccLinesReport)
    • getCcConditionsReport

      public String getCcConditionsReport()
    • setCcConditionsReport

      public void setCcConditionsReport(String ccConditionsReport)
    • getCcLines

      public Integer getCcLines()
    • setCcLines

      public void setCcLines(Integer ccLines)
    • getDurationReport

      public String getDurationReport()
    • setDurationReport

      public void setDurationReport(String durationReport)
    • getNumberOfChangesReport

      public String getNumberOfChangesReport()
    • setNumberOfChangesReport

      public void setNumberOfChangesReport(String numberOfChangesReport)
    • setStatus

      public void setStatus(String status)
    • calculatePercentage

      public void calculatePercentage(Job job)
    • getPercentageReport

      public String getPercentageReport()
    • setPercentageReport

      public void setPercentageReport(String percentageReport)
    • getStatusFromEnum

      public JobStatus getStatusFromEnum()