public class JavaFileLine extends AbstractLine implements Line
Modifier and Type | Field and Description |
---|---|
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 |
Constructor and Description |
---|
JavaFileLine() |
Modifier and Type | Method and Description |
---|---|
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.
|
assertValidColumnForCategory, close, getDetailPage, getOwner, isClosed, openDetailPage, setCategory, setField, setField, setField, setField, setOwner, setReport
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDetailPage, getOwner, openDetailPage, setCategory, setField, setField, setField, setField, setOwner, setReport
static org.apache.log4j.Logger logger
public static Column COLUMN_FILE_NAME
public static Column COLUMN_PATH
public static Column COLUMN_SOURCE_LINES
public static Column COLUMN_COVERAGE_PERCENT
public static Column COLUMN_COVERAGE
public static Column COLUMN_BRANCH_COVERAGE_PERCENT
public static Column COLUMN_BRANCH_COVERAGE
JavaFilePage javaFilePage
public JavaFileLine()
public Page instantiateDetailPage()
AbstractLine
instantiateDetailPage
in class AbstractLine
public java.lang.String getClassName()
public java.lang.Object getField(Column column)
AbstractLine
getField
in interface Line
getField
in class AbstractLine
column
- the given column.public java.io.File getSourceFile()
public int getSourceLinesCount()