Package hudson.plugins.jacoco.model
Class CoverageElement
- java.lang.Object
-
- hudson.plugins.jacoco.model.CoverageElement
-
public final class CoverageElement extends Object
This is a transitive object used during the parsing, but not a part of the final tree built.- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CoverageElement.Type
Enumeration of coverage types that appear in a JaCoCo report.
-
Constructor Summary
Constructors Constructor Description CoverageElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTo(AbstractReport<?,?> report)
CoverageElement.Type
getTypeAsEnum()
Returns the enum constant that says what type of coverage this bean represents.void
setCovered(int covered)
void
setMissed(int missed)
void
setType(String type)
-
-
-
Method Detail
-
getTypeAsEnum
public CoverageElement.Type getTypeAsEnum()
Returns the enum constant that says what type of coverage this bean represents.Warning: don't call this method getType() because that confuses the Digester.
- Returns:
- the enum constant that says what type of coverage this bean represents.
-
setType
public void setType(String type)
-
setMissed
public void setMissed(int missed)
-
setCovered
public void setCovered(int covered)
-
addTo
public void addTo(AbstractReport<?,?> report) throws IOException
- Throws:
IOException
-
-