com.github.jlgrock.javascriptframework.closuretestingreport
Class ClosureTestingReportMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.reporting.AbstractMavenReport
          extended by com.github.jlgrock.javascriptframework.closuretestingreport.ClosureTestingReportMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.apache.maven.reporting.MavenMultiPageReport, org.apache.maven.reporting.MavenReport

public class ClosureTestingReportMojo
extends org.apache.maven.reporting.AbstractMavenReport

Will execute the jsclosure suite in a selenium testbed and execute it, parsing values for problems. If problems arise, this can stop the build.


Field Summary
 
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
ClosureTestingReportMojo()
           
 
Method Summary
protected  void executeReport(Locale locale)
           
 String getDescription(Locale locale)
          Gets the description for the report.
protected  File getFrameworkTargetDirectory()
           
 String getName(Locale locale)
           
protected  String getOutputDirectory()
           
 String getOutputName()
           
protected  org.apache.maven.project.MavenProject getProject()
           
protected  org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()
           
 
Methods inherited from class org.apache.maven.reporting.AbstractMavenReport
canGenerateReport, closeReport, execute, generate, generate, generate, getCategoryName, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectory
 
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
 

Constructor Detail

ClosureTestingReportMojo

public ClosureTestingReportMojo()
Method Detail

getDescription

public final String getDescription(Locale locale)
Gets the description for the report.

Parameters:
locale - the locale
Returns:
the description

getName

public final String getName(Locale locale)

getOutputName

public final String getOutputName()

executeReport

protected final void executeReport(Locale locale)
                            throws org.apache.maven.reporting.MavenReportException
Specified by:
executeReport in class org.apache.maven.reporting.AbstractMavenReport
Throws:
org.apache.maven.reporting.MavenReportException

getOutputDirectory

protected final String getOutputDirectory()
Specified by:
getOutputDirectory in class org.apache.maven.reporting.AbstractMavenReport

getProject

protected final org.apache.maven.project.MavenProject getProject()
Specified by:
getProject in class org.apache.maven.reporting.AbstractMavenReport

getSiteRenderer

protected final org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()
Specified by:
getSiteRenderer in class org.apache.maven.reporting.AbstractMavenReport

getFrameworkTargetDirectory

protected final File getFrameworkTargetDirectory()
Returns:
frameworkTargetDirectory


Copyright © 2011. All Rights Reserved.