hudson.plugins.jacoco.model
Class CoverageElement

java.lang.Object
  extended by 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
static class CoverageElement.Type
          Enumeration of coverage types that appear in a JaCoCo report.
 
Constructor Summary
CoverageElement()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoverageElement

public CoverageElement()
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.


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


Copyright © 2004-2013 Hudson. All Rights Reserved.