Class HtmlReportWriter
java.lang.Object
org.codenarc.report.AbstractReportWriter
org.codenarc.report.AbstractHtmlReportWriter
org.codenarc.report.HtmlReportWriter
- All Implemented Interfaces:
groovy.lang.GroovyObject, ReportWriter
-
Field Summary
FieldsFields inherited from class AbstractHtmlReportWriter
CSS_FILE, MAX_SOURCE_LINE_LENGTH, SOURCE_LINE_LAST_SEGMENT_LENGTHFields inherited from class AbstractReportWriter
BASE_MESSAGES_BUNDLE, CODENARC_URL, CUSTOM_MESSAGES_BUNDLE, customMessagesBundleName, getTimestamp, initializeResourceBundle, resourceBundle, VERSION_FILE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected groovy.lang.ClosurebuildBodySection(AnalysisContext analysisContext, Results results) booleangroovy.lang.MetaClassgetProperty(String property) invokeMethod(String method, Object arguments) booleanvoidsetDefaultOutputFile(String value) voidsetIncludeSummaryByPackage(boolean value) voidsetMetaClass(groovy.lang.MetaClass mc) voidsetProperty(String property, Object value) toString()Methods inherited from class AbstractHtmlReportWriter
buildCSS, buildHeaderSection, buildLogo, buildReportMetadata, buildRuleDescriptions, buildScript, buildTitle, formatSourceLine, formatSourceLine, getCssFile, getIncludeRuleDescriptions, getMaxPriority, getTitle, isDirectoryContainingFiles, isDirectoryContainingFilesWithViolations, isIncludeRuleDescriptions, setIncludeRuleDescriptions, setMaxPriority, setTitle, writeReportMethods inherited from class AbstractReportWriter
getCodeNarcVersion, getDescriptionForRule, getFormattedTimestamp, getHtmlDescriptionForRule, getOutputFile, getResourceBundleString, getResourceBundleString, getResourceBundleString, getSortedRules, getWriteToStandardOut, initializeDefaultResourceBundle, isEnabled, setOutputFile, setWriteToStandardOut, writeReport
-
Field Details
-
DEFAULT_OUTPUT_FILE
- See Also:
-
-
Constructor Details
-
HtmlReportWriter
public HtmlReportWriter()
-
-
Method Details
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject- Overrides:
getMetaClassin classAbstractHtmlReportWriter
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc) - Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject- Overrides:
setMetaClassin classAbstractHtmlReportWriter
-
invokeMethod
- Specified by:
invokeMethodin interfacegroovy.lang.GroovyObject- Overrides:
invokeMethodin classAbstractHtmlReportWriter
-
getProperty
- Specified by:
getPropertyin interfacegroovy.lang.GroovyObject- Overrides:
getPropertyin classAbstractHtmlReportWriter
-
setProperty
- Specified by:
setPropertyin interfacegroovy.lang.GroovyObject- Overrides:
setPropertyin classAbstractHtmlReportWriter
-
getDefaultOutputFile
-
setDefaultOutputFile
-
getIncludeSummaryByPackage
public boolean getIncludeSummaryByPackage() -
isIncludeSummaryByPackage
public boolean isIncludeSummaryByPackage() -
setIncludeSummaryByPackage
public void setIncludeSummaryByPackage(boolean value) -
toString
-
buildBodySection
- Specified by:
buildBodySectionin classAbstractHtmlReportWriter
-