|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.phoenix.report.ReportNormalizer
public final class ReportNormalizer
Provides merging of findbugs, pmd, checkstyle, cpd, and cobertura XML files into a single XML representation.
| Nested Class Summary | |
|---|---|
static class |
ReportNormalizer.SourceReport
The Class SourceReport. |
| Field Summary | |
|---|---|
static String |
JCODERZ_REPORT_XML
The Constant JCODERZ_REPORT_XML. |
| Constructor Summary | |
|---|---|
ReportNormalizer()
Constructor. |
|
| Method Summary | |
|---|---|
void |
addReport(ReportFormat format,
File file)
Adds the report. |
void |
addReport(ReportFormat format,
String file)
Adds the report. |
void |
addReport(ReportFormat format,
String file,
String flavor)
Adds the report with a given flavor. |
void |
addSource(File srcDir)
|
File |
getFilterFile()
Gets the filter file. |
ReportLevel |
getLevel()
Gets the level. |
Level |
getLogLevel()
Gets the log level. |
File |
getOutFile()
Gets the out file. |
File |
getProjectHome()
Gets the project home. |
String |
getProjectName()
Gets the project name. |
static void |
main(String[] args)
Main method. |
void |
run()
Run ReportNormalizer. |
void |
setFilterFile(File filterFile)
Sets the filter file. |
void |
setLevel(ReportLevel level)
Sets the level. |
void |
setLogLevel(Level logLevel)
Sets the log level. |
void |
setOutFile(File outFile)
Sets the out file. |
void |
setProjectHome(File projectHome)
Sets the project home. |
void |
setProjectName(String projectName)
Sets the project name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String JCODERZ_REPORT_XML
| Constructor Detail |
|---|
public ReportNormalizer()
throws IOException
IOException - in case of any error.| Method Detail |
|---|
public static void main(String[] args)
throws Exception
args - arguments.
Exception - the exception
public void run()
throws JAXBException,
IOException,
TransformerException
JAXBException
IOException
TransformerException
public void addReport(ReportFormat format,
String file)
format - the formatfile - the file
public void addReport(ReportFormat format,
String file,
String flavor)
format - the formatfile - the fileflavor - the flavor of the report.
public void addReport(ReportFormat format,
File file)
format - the formatfile - the filepublic void addSource(File srcDir)
public File getProjectHome()
public void setProjectHome(File projectHome)
projectHome - the new project homepublic String getProjectName()
public void setProjectName(String projectName)
projectName - the new project namepublic File getOutFile()
public void setOutFile(File outFile)
throws IOException
outFile - the new out file
IOException - Signals that an I/O exception has occurred.public Level getLogLevel()
public void setLogLevel(Level logLevel)
logLevel - the new log levelpublic ReportLevel getLevel()
public void setLevel(ReportLevel level)
level - the new levelpublic File getFilterFile()
public void setFilterFile(File filterFile)
throws IOException
filterFile - the new filter file
IOException - Signals that an I/O exception has occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||