Class Results
java.lang.Object
com.jenkins.testresultsaggregator.data.Results
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddResults
(Results resultsDTO) calculateCCClasses
(Job job) calculateCCConditions
(Job job) calculateCCFiles
(Job job) calculateCCLines
(Job job) calculateCCMethods
(Job job) calculateCCPackages
(Job job) calculateChanges
(Job job) calculateDuration
(Long millis) void
calculateFailed
(Job job) void
calculatePass
(Job job) void
calculatePercentage
(Job job) void
calculateSkipped
(Job job) calculateSonar
(Job job) calculateTimestamp
(Job job, String outOfDateResults) void
calculateTotal
(Job job) int
int
int
getFail()
int
int
int
getNumberReport
(boolean withLinktoResults) int
getPass()
int
int
getSkip()
int
getStatusColor
(boolean withLinktoResults) int
getTotal()
int
getUrl()
boolean
void
setBuilding
(boolean building) void
setCcClasses
(Integer ccClasses) void
setCcClassesDif
(Integer ccClassesDif) void
setCcClassesReport
(String ccClassesReport) void
setCcConditions
(Integer ccConditions) void
setCcConditionsDif
(Integer ccConditionsDif) void
setCcConditionsReport
(String ccConditionsReport) void
setCcFiles
(Integer ccFiles) void
setCcFilesDif
(Integer ccFilesDif) void
setCcFilesReport
(String ccFilesReport) void
setCcLines
(int ccLines) void
setCcLines
(Integer ccLines) void
setCcLinesDif
(Integer ccLinesDif) void
setCcLinesReport
(String ccLinesReport) void
setCcMethods
(Integer ccMethods) void
setCcMethodsDif
(Integer ccMethodsDif) void
setCcMethodsReport
(String ccMethodsReport) void
setCcPackages
(int ccPackages) void
setCcPackagesDif
(int ccPackagesDif) void
setCcPackagesReport
(String ccPackagesReport) void
setChangesUrl
(String changesUrl) void
setDescription
(String description) void
setDuration
(Long duration) void
setDurationReport
(String durationReport) void
setFail
(int fail) void
setFailDif
(int failDif) void
setFailReport
(String failReport) void
setNumber
(int number) void
setNumberOfChanges
(int numberOfChanges) void
setNumberOfChangesReport
(String numberOfChangesReport) void
setPass
(int pass) void
setPassDif
(int passDif) void
setPassReport
(String passReport) void
setPercentage
(Double percentage) void
setPercentageReport
(String percentageReport) void
setSkip
(int skip) void
setSkipDif
(int skipDif) void
setSkipReport
(String skipReport) void
setSonarUrl
(String sonarUrl) void
void
setTimestamp
(String timestamp) void
setTotal
(int total) void
setTotalDif
(int totalDif) void
setTotalReport
(String totalReport) void
-
Constructor Details
-
Results
public Results() -
Results
-
-
Method Details
-
calculate
-
addResults
-
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
-
getDuration
-
setDuration
-
getDescription
-
setDescription
-
isBuilding
public boolean isBuilding() -
setBuilding
public void setBuilding(boolean building) -
getNumberOfChanges
public int getNumberOfChanges() -
setNumberOfChanges
public void setNumberOfChanges(int numberOfChanges) -
getChangesUrl
-
setChangesUrl
-
getTimestamp
-
setTimestamp
-
getUrl
-
setUrl
-
getPercentage
-
setPercentage
-
getStatus
-
getStatusColor
-
getStatusColor
-
getStatusPlain
-
getCalculatedCcPackage
-
getCcPackages
public int getCcPackages() -
setCcPackages
public void setCcPackages(int ccPackages) -
getCcPackagesDif
public int getCcPackagesDif() -
setCcPackagesDif
public void setCcPackagesDif(int ccPackagesDif) -
getCalculatedCcFiles
-
getCcFiles
-
setCcFiles
-
getCcFilesDif
-
setCcFilesDif
-
getCalculatedCcClasses
-
getCcClasses
-
setCcClasses
-
getCcClassesDif
-
setCcClassesDif
-
getCalculatedCcMethods
-
getCcMethods
-
setCcMethods
-
getCcMethodsDif
-
setCcMethodsDif
-
getCalculatedCcLines
-
setCcLines
public void setCcLines(int ccLines) -
getCcLinesDif
-
setCcLinesDif
-
getCalculatedCcConditions
-
getCcConditions
-
setCcConditions
-
getCcConditionsDif
-
setCcConditionsDif
-
getSonarUrl
-
setSonarUrl
-
getPassReport
-
setPassReport
-
getFailReport
-
setFailReport
-
getSkipReport
-
setSkipReport
-
getTotalReport
-
setTotalReport
-
calculateDuration
-
calculateTotal
-
calculatePass
-
calculateFailed
-
calculateSkipped
-
calculateTimestamp
-
calculateChanges
-
calculateSonar
-
calculateCCPackages
-
calculateCCFiles
-
calculateCCClasses
-
calculateCCMethods
-
calculateCCLines
-
calculateCCConditions
-
getCcPackagesReport
-
setCcPackagesReport
-
getCcFilesReport
-
setCcFilesReport
-
getCcClassesReport
-
setCcClassesReport
-
getCcMethodsReport
-
setCcMethodsReport
-
getCcLinesReport
-
setCcLinesReport
-
getCcConditionsReport
-
setCcConditionsReport
-
getCcLines
-
setCcLines
-
getDurationReport
-
setDurationReport
-
getNumberOfChangesReport
-
setNumberOfChangesReport
-
setStatus
-
calculatePercentage
-
getPercentageReport
-
setPercentageReport
-
getStatusFromEnum
-