com.jcoverage.coverage.reporting.collation
Class JavaFileLine

java.lang.Object
  extended bycom.jcoverage.reporting.AbstractLine
      extended bycom.jcoverage.coverage.reporting.collation.JavaFileLine
All Implemented Interfaces:
Closeable, Line

public class JavaFileLine
extends AbstractLine
implements Line


Field Summary
static Column COLUMN_BRANCH_COVERAGE
           
static Column COLUMN_BRANCH_COVERAGE_PERCENT
           
static Column COLUMN_COVERAGE
           
static Column COLUMN_COVERAGE_PERCENT
           
static Column COLUMN_FILE_NAME
           
static Column COLUMN_PATH
           
static Column COLUMN_SOURCE_LINES
           
(package private)  JavaFilePage javaFilePage
           
(package private) static org.apache.log4j.Logger logger
           
 
Fields inherited from class com.jcoverage.reporting.AbstractLine
 
Constructor Summary
JavaFileLine()
           
 
Method Summary
 java.lang.String getClassName()
           
 java.lang.Object getField(Column column)
          Get the field value for a given column.
 java.io.File getSourceFile()
           
 int getSourceLinesCount()
           
 Page instantiateDetailPage()
          Subclasses should override this method if the line has information in a detail page.
 
Methods inherited from class com.jcoverage.reporting.AbstractLine
assertValidColumnForCategory, close, getDetailPage, getOwner, isClosed, openDetailPage, setCategory, setField, setField, setField, setField, setOwner, setReport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.jcoverage.reporting.Line
getDetailPage, getOwner, openDetailPage, setCategory, setField, setField, setField, setField, setOwner, setReport
 
Methods inherited from interface com.jcoverage.reporting.Closeable
close, isClosed
 

Field Detail

logger

static org.apache.log4j.Logger logger

COLUMN_FILE_NAME

public static Column COLUMN_FILE_NAME

COLUMN_PATH

public static Column COLUMN_PATH

COLUMN_SOURCE_LINES

public static Column COLUMN_SOURCE_LINES

COLUMN_COVERAGE_PERCENT

public static Column COLUMN_COVERAGE_PERCENT

COLUMN_COVERAGE

public static Column COLUMN_COVERAGE

COLUMN_BRANCH_COVERAGE_PERCENT

public static Column COLUMN_BRANCH_COVERAGE_PERCENT

COLUMN_BRANCH_COVERAGE

public static Column COLUMN_BRANCH_COVERAGE

javaFilePage

JavaFilePage javaFilePage
Constructor Detail

JavaFileLine

public JavaFileLine()
Method Detail

instantiateDetailPage

public Page instantiateDetailPage()
Description copied from class: AbstractLine
Subclasses should override this method if the line has information in a detail page.

Overrides:
instantiateDetailPage in class AbstractLine

getClassName

public java.lang.String getClassName()

getField

public java.lang.Object getField(Column column)
Description copied from class: AbstractLine
Get the field value for a given column.

Specified by:
getField in interface Line
Overrides:
getField in class AbstractLine
Parameters:
column - the given column.
Returns:
null if no value has been set for the given column.

getSourceFile

public java.io.File getSourceFile()

getSourceLinesCount

public int getSourceLinesCount()