|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.objectlab.qalab.exporter.ConsoleExporter
public class ConsoleExporter
This is a basic exporter for debugging (it simply shows the exports on ConsoleLogger.
Constructor Summary | |
---|---|
ConsoleExporter()
|
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)
For instance for the XML Exporter. |
protected TaskLogger |
getTaskLogger()
|
boolean |
isQuiet()
|
void |
save()
Save the stats (called when the parsing of input statistics is completed). |
void |
setQuiet(boolean noLog)
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConsoleExporter()
Method Detail |
---|
public final void configure(java.util.Properties properties)
configure
in interface QALabExporter
properties
- the properties.QALabExporter#configure(java.util.Properties)
public final void addSummary(int violationCount, int fileCount)
addSummary
in interface QALabExporter
violationCount
- total number of violations for this typefileCount
- total number of files affected by this type.net.objectlab.qalab.interfaces.QALabExporter#addSummary(
java.util.Date, int, int, java.lang.String)
public final void addFileResult(int violationCount, java.lang.String fileName)
addFileResult
in interface QALabExporter
violationCount
- total number of violations for this type and file.fileName
- file namenet.objectlab.qalab.interfaces.QALabExporter#addFileResult(
java.util.Date, int, java.lang.String, java.lang.String)
public final void save() throws java.io.IOException
save
in interface QALabExporter
java.io.IOException
- any IO issue.QALabExporter.save()
protected final TaskLogger getTaskLogger()
public final void setTaskLogger(TaskLogger task)
setTaskLogger
in interface QALabExporter
task
- the logger to usepublic final boolean isQuiet()
public final void setQuiet(boolean noLog)
QALabExporter
setQuiet
in interface QALabExporter
noLog
- true if no log required.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |