eu.lindenbaum.maven.cover
Class CoverUnit

java.lang.Object
  extended by eu.lindenbaum.maven.cover.CoverUnit

public final class CoverUnit
extends Object

Class for a cover unit, i.e. a number of lines that were covered and a number of lines that were not covered.


Constructor Summary
CoverUnit(int inCoveredLines, int inNotCoveredLines)
          Constructor from a number of lines that were covered and a number of lines that were not covered.
 
Method Summary
 int getCoveredLines()
          Accessor on the number of lines that were covered.
 int getNotCoveredLines()
          Accessor on the number of lines that were not covered.
 boolean isCovered()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoverUnit

public CoverUnit(int inCoveredLines,
                 int inNotCoveredLines)
Constructor from a number of lines that were covered and a number of lines that were not covered.

Parameters:
inCoveredLines - number of lines covered.
inNotCoveredLines - number of lines not covered.
Method Detail

getCoveredLines

public int getCoveredLines()
Accessor on the number of lines that were covered.

Returns:
the number of lines that were covered.

getNotCoveredLines

public int getNotCoveredLines()
Accessor on the number of lines that were not covered.

Returns:
the number of lines that were not covered.

isCovered

public boolean isCovered()


Copyright © 2010 Lindenbaum GmbH. All Rights Reserved.