ro.isdc.wro.maven.plugin
Class JsHintMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
ro.isdc.wro.maven.plugin.AbstractWro4jMojo
ro.isdc.wro.maven.plugin.AbstractSingleProcessorMojo
ro.isdc.wro.maven.plugin.AbstractLinterMojo<LinterError>
ro.isdc.wro.maven.plugin.JsHintMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class JsHintMojo
- extends AbstractLinterMojo<LinterError>
Maven plugin used to validate js scripts defined in wro model using jsLint.
- Since:
- 1.3.5
- Author:
- Alex Objelean
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsHintMojo
public JsHintMojo()
createResourceProcessor
protected ResourcePreProcessor createResourceProcessor()
-
- Specified by:
createResourceProcessor
in class AbstractSingleProcessorMojo
onBeforeExecute
protected void onBeforeExecute()
- Invoked before execution is performed.
- Overrides:
onBeforeExecute
in class AbstractLinterMojo<LinterError>
onAfterExecute
protected void onAfterExecute()
- Invoked right after execution completion. This method is invoked also if the execution failed with an exception.
- Overrides:
onAfterExecute
in class AbstractLinterMojo<LinterError>
createXmlFormatter
protected ReportXmlFormatter createXmlFormatter(LintReport<LinterError> lintReport,
ReportXmlFormatter.FormatterType type)
-
- Specified by:
createXmlFormatter
in class AbstractLinterMojo<LinterError>
getReportFile
protected File getReportFile()
-
- Specified by:
getReportFile
in class AbstractLinterMojo<LinterError>
- Returns:
- the file where the report should be written.
getReportFormat
protected String getReportFormat()
-
- Specified by:
getReportFormat
in class AbstractLinterMojo<LinterError>
- Returns:
- the preferred format of the report.
Copyright © 2008-2013. All Rights Reserved.