forked from jenkinsci/java-client-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Splitting fix made for jacoco reports from Jenkins jenkinsci#98.
- Loading branch information
Shah, Prince
committed
May 23, 2017
1 parent
e2a0fe9
commit ffbd446
Showing
4 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
jenkins-client/src/main/java/com/offbytwo/jenkins/model/JacocoCoverageReport.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package com.offbytwo.jenkins.model; | ||
|
||
public class JacocoCoverageReport extends BaseModel { | ||
|
||
private JacocoCoverageResult lineCoverage; | ||
private JacocoCoverageResult classCoverage; | ||
private JacocoCoverageResult complexityScore; | ||
private JacocoCoverageResult instructionCoverage; | ||
private JacocoCoverageResult branchCoverage; | ||
|
||
public JacocoCoverageResult getLineCoverage() { | ||
return lineCoverage; | ||
} | ||
public void setLineCoverage(JacocoCoverageResult lineCoverage) { | ||
this.lineCoverage = lineCoverage; | ||
} | ||
public JacocoCoverageResult getClassCoverage() { | ||
return classCoverage; | ||
} | ||
public void setClassCoverage(JacocoCoverageResult classCoverage) { | ||
this.classCoverage = classCoverage; | ||
} | ||
public JacocoCoverageResult getComplexityScore() { | ||
return complexityScore; | ||
} | ||
public void setComplexityScore(JacocoCoverageResult complexityScore) { | ||
this.complexityScore = complexityScore; | ||
} | ||
public JacocoCoverageResult getInstructionCoverage() { | ||
return instructionCoverage; | ||
} | ||
public void setInstructionCoverage(JacocoCoverageResult instructionCoverage) { | ||
this.instructionCoverage = instructionCoverage; | ||
} | ||
public JacocoCoverageResult getBranchCoverage() { | ||
return branchCoverage; | ||
} | ||
public void setBranchCoverage(JacocoCoverageResult branchCoverage) { | ||
this.branchCoverage = branchCoverage; | ||
} | ||
|
||
} |
44 changes: 44 additions & 0 deletions
44
jenkins-client/src/main/java/com/offbytwo/jenkins/model/JacocoCoverageResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
package com.offbytwo.jenkins.model; | ||
|
||
public class JacocoCoverageResult { | ||
|
||
private int covered; | ||
private int missed; | ||
private int percentage; | ||
private int percentageFloat; | ||
private int total; | ||
|
||
public int getCovered() { | ||
return covered; | ||
} | ||
public void setCovered(int covered) { | ||
this.covered = covered; | ||
} | ||
public int getMissed() { | ||
return missed; | ||
} | ||
public void setMissed(int missed) { | ||
this.missed = missed; | ||
} | ||
public int getPercentage() { | ||
return percentage; | ||
} | ||
public void setPercentage(int percentage) { | ||
this.percentage = percentage; | ||
} | ||
public int getPercentageFloat() { | ||
return percentageFloat; | ||
} | ||
public void setPercentageFloat(int percentageFloat) { | ||
this.percentageFloat = percentageFloat; | ||
} | ||
public int getTotal() { | ||
return total; | ||
} | ||
public void setTotal(int total) { | ||
this.total = total; | ||
} | ||
|
||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters