|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.nanoko.coffee.mill.mojos.AbstractCoffeeMillMojo
org.nanoko.coffee.mill.mojos.AbstractReportingCoffeeMillMojo
public abstract class AbstractReportingCoffeeMillMojo
| Field Summary | |
|---|---|
File |
assetsDir
Where are the assets. |
File |
baseDirectory
Base directory of the project. |
File |
buildDirectory
Directory containing the build files. |
File |
coffeeScriptDir
Where are CoffeeScript files. |
File |
coffeeScriptTestDir
Where are CoffeeScript files implementing tests. |
File |
javaScriptDir
Where are JavaScript files. |
File |
javaScriptTestDir
Where are JavaScript files implementing tests. |
File |
libDir
Where are the dependencies copies. |
org.apache.maven.project.MavenProject |
project
The maven project. |
org.apache.maven.project.MavenProjectHelper |
projectHelper
Maven ProjectHelper. |
protected org.apache.maven.doxia.siterenderer.Renderer |
siteRenderer
|
File |
stylesheetsDir
Where are LESS, CSS and SASS/SCSS files. |
File |
workDir
Where are the output files written. |
File |
workTestDir
Where are the output test files written. |
| Fields inherited from interface org.apache.maven.reporting.MavenReport |
|---|
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractReportingCoffeeMillMojo()
|
|
| Method Summary | |
|---|---|
boolean |
canGenerateReport()
|
protected void |
closeReport()
|
void |
execute()
This method is called when the report generation is invoked directly as a standalone Mojo. |
void |
executeReport(Locale locale)
|
void |
generate(org.codehaus.doxia.sink.Sink sink,
Locale locale)
This method is called when the report generation is invoked by maven-site-plugin. |
String |
getCategoryName()
|
File |
getLibDirectory()
|
protected String |
getOutputDirectory()
|
protected org.apache.maven.project.MavenProject |
getProject()
|
File |
getReportOutputDirectory()
|
org.apache.maven.doxia.sink.Sink |
getSink()
|
protected org.apache.maven.doxia.siterenderer.Renderer |
getSiteRenderer()
|
File |
getTarget()
|
File |
getWorkDirectory()
|
File |
getWorkTestDirectory()
|
boolean |
isExternalReport()
|
void |
setReportOutputDirectory(File reportOutputDirectory)
|
abstract Map<File,List<Processor.ProcessorWarning>> |
validate()
|
abstract void |
writeIntroduction()
|
| 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 |
| Methods inherited from interface org.apache.maven.reporting.MavenReport |
|---|
getDescription, getName, getOutputName |
| Field Detail |
|---|
public org.apache.maven.project.MavenProject project
public org.apache.maven.project.MavenProjectHelper projectHelper
public File buildDirectory
public File baseDirectory
public File javaScriptDir
public File coffeeScriptDir
public File coffeeScriptTestDir
public File javaScriptTestDir
public File assetsDir
public File stylesheetsDir
public File workDir
public File workTestDir
public File libDir
protected org.apache.maven.doxia.siterenderer.Renderer siteRenderer
| Constructor Detail |
|---|
public AbstractReportingCoffeeMillMojo()
| Method Detail |
|---|
public File getTarget()
getTarget in class AbstractCoffeeMillMojopublic File getWorkDirectory()
getWorkDirectory in class AbstractCoffeeMillMojopublic File getWorkTestDirectory()
getWorkTestDirectory in class AbstractCoffeeMillMojopublic File getLibDirectory()
getLibDirectory in class AbstractCoffeeMillMojoprotected org.apache.maven.project.MavenProject getProject()
protected org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()
public boolean canGenerateReport()
canGenerateReport in interface org.apache.maven.reporting.MavenReportprotected String getOutputDirectory()
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
execute in interface org.apache.maven.plugin.Mojoorg.apache.maven.plugin.MojoExecutionException - if an error uccurs when generating the reportMojo.execute()
public void generate(org.codehaus.doxia.sink.Sink sink,
Locale locale)
throws org.apache.maven.reporting.MavenReportException
generate in interface org.apache.maven.reporting.MavenReportorg.apache.maven.reporting.MavenReportExceptionMavenReport.generate(org.codehaus.doxia.sink.Sink, java.util.Locale)protected void closeReport()
public String getCategoryName()
getCategoryName in interface org.apache.maven.reporting.MavenReportpublic File getReportOutputDirectory()
getReportOutputDirectory in interface org.apache.maven.reporting.MavenReportpublic void setReportOutputDirectory(File reportOutputDirectory)
setReportOutputDirectory in interface org.apache.maven.reporting.MavenReportpublic org.apache.maven.doxia.sink.Sink getSink()
public boolean isExternalReport()
isExternalReport in interface org.apache.maven.reporting.MavenReportMavenReport.isExternalReport()public abstract void writeIntroduction()
public abstract Map<File,List<Processor.ProcessorWarning>> validate()
throws Processor.ProcessorException
Processor.ProcessorException
public void executeReport(Locale locale)
throws org.apache.maven.reporting.MavenReportException
org.apache.maven.reporting.MavenReportException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||