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 classCoverageElement.TypeEnumeration 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 voidaddTo(AbstractReport<?,?> report)CoverageElement.TypegetTypeAsEnum()Returns the enum constant that says what type of coverage this bean represents.voidsetCovered(int covered)voidsetMissed(int missed)voidsetType(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
 
 - 
 
 -