Class Source
java.lang.Object
org.eluder.coveralls.maven.plugin.domain.Source
- All Implemented Interfaces:
Serializable, JsonObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBranchCoverage(int lineNumber, int blockNumber, int branchNumber, int hits) Adds the branch coverage.voidaddCoverage(int lineNumber, Integer coverage) Adds the coverage.booleanInteger[]Gets the branches.Gets the branches list.Gets the classifier.Integer[]Gets the coverage.Gets the digest.Gets the full name.getName()Gets the name.inthashCode()Merge.voidsetClassifier(String classifier) Sets the classifier.
-
Constructor Details
-
Source
-
Source
-
-
Method Details
-
getName
-
getFullName
-
getDigest
-
getCoverage
-
getBranches
-
getBranchesList
-
getClassifier
-
setClassifier
Sets the classifier.- Parameters:
classifier- the new classifier
-
addCoverage
Adds the coverage.- Parameters:
lineNumber- the line numbercoverage- the coverage
-
addBranchCoverage
public void addBranchCoverage(int lineNumber, int blockNumber, int branchNumber, int hits) Adds the branch coverage.- Parameters:
lineNumber- the line numberblockNumber- the block numberbranchNumber- the branch numberhits- the hits
-
merge
-
equals
-
hashCode
-