ro.isdc.wro.maven.plugin
Class CssLintMojo
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<CssLintError>
ro.isdc.wro.maven.plugin.CssLintMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class CssLintMojo
- extends AbstractLinterMojo<CssLintError>
Maven plugin used to validate css code defined in wro model.
- Since:
- 1.3.8
- 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 |
CssLintMojo
public CssLintMojo()
createResourceProcessor
protected ResourcePreProcessor createResourceProcessor()
-
- Specified by:
createResourceProcessor
in class AbstractSingleProcessorMojo
createXmlFormatter
protected ReportXmlFormatter createXmlFormatter(LintReport<CssLintError> lintReport,
ReportXmlFormatter.FormatterType type)
-
- Specified by:
createXmlFormatter
in class AbstractLinterMojo<CssLintError>
getReportFile
protected File getReportFile()
-
- Specified by:
getReportFile
in class AbstractLinterMojo<CssLintError>
- Returns:
- the file where the report should be written.
getReportFormat
protected String getReportFormat()
-
- Specified by:
getReportFormat
in class AbstractLinterMojo<CssLintError>
- Returns:
- the preferred format of the report.
Copyright © 2008-2013. All Rights Reserved.