|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface QALabExporter
This is the interface for exporting the statistics from the input checkstyle, pmd, findbugs or simian; feel free to create your own to say a database or your specific XML.
| Method Summary | |
|---|---|
void |
addFileResult(int violationCount,
java.lang.String fileName)
Add a result entry for a given file name and type. |
void |
addSummary(int violationCount,
int fileCount)
Add summary details for this merger of statistics for this type. |
void |
configure(java.util.Properties properties)
Configure the exporter. |
void |
save()
Save the results wherever required (depending on the Exporter). |
void |
setQuiet(boolean quiet)
if quiet is true, the merger should limit its log output. |
void |
setTaskLogger(TaskLogger task)
set the task logger, ie mechanism to log issues & debug info. |
| Method Detail |
|---|
void configure(java.util.Properties properties)
properties - the properties used to confirgure the exporter.
void addSummary(int violationCount,
int fileCount)
violationCount - total number of violations for this typefileCount - total number of files affected by this type.
void addFileResult(int violationCount,
java.lang.String fileName)
violationCount - total number of violations for this type and file.fileName - file name
simian, pmd)
void save()
throws java.io.IOException
java.io.IOException - any IO issue.void setTaskLogger(TaskLogger task)
task - the logger to usevoid setQuiet(boolean quiet)
quiet - true to minimise logging.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||