|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.AbstractMojo org.apache.maven.reporting.AbstractMavenReport net.sf.statscm.StatScmMojo
public class StatScmMojo
Generate a Source Code Management Metrics Report.
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 | |
---|---|
StatScmMojo()
|
Method Summary | |
---|---|
protected java.lang.String |
buildIncludeExcludeString(java.lang.String[] list)
Convert an array of strings to a single semi-colon delimited string of the values. |
void |
execute()
For running directly. |
void |
executeReport(java.util.Locale locale)
Main mojo execution method called by plugin environment. |
java.lang.String |
getDescription(java.util.Locale loc)
Description of Report for Reporting API. |
java.lang.String |
getMessage(java.lang.String messageKey)
|
java.lang.String |
getName(java.util.Locale locale)
Menu Item name for Reporting API. |
protected java.lang.String |
getOutputDirectory()
String repesentation of the output generated XDOC Directory. |
java.lang.String |
getOutputName()
String name of the html file that the Reporting Menu uses for a link. |
protected org.apache.maven.project.MavenProject |
getProject()
Access to the Maven Project representation for Reporting API. |
protected java.lang.String |
getReportingTargetDirectory()
Returns the StatSCM report target directory. |
protected org.apache.maven.doxia.siterenderer.Renderer |
getSiteRenderer()
Called my Maven Repoerint API. |
StatConf |
getStatConf()
|
void |
setConfigFileParameter(java.lang.String configFile)
|
void |
setProject(org.apache.maven.project.MavenProject project)
Setter to allow unit tests to set up Mojo. |
Methods inherited from class org.apache.maven.reporting.AbstractMavenReport |
---|
canGenerateReport, closeReport, generate, getCategoryName, getReportOutputDirectory, getSink, 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 |
---|
public StatScmMojo()
Method Detail |
---|
public void execute()
execute
in interface org.apache.maven.plugin.Mojo
execute
in class org.apache.maven.reporting.AbstractMavenReport
public void executeReport(java.util.Locale locale) throws org.apache.maven.reporting.MavenReportException
executeReport
in class org.apache.maven.reporting.AbstractMavenReport
locale
- Locale for 118n.
org.apache.maven.reporting.MavenReportException
- Throws an error if any failure.protected java.lang.String buildIncludeExcludeString(java.lang.String[] list)
protected org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()
getSiteRenderer
in class org.apache.maven.reporting.AbstractMavenReport
protected java.lang.String getOutputDirectory()
getOutputDirectory
in class org.apache.maven.reporting.AbstractMavenReport
protected java.lang.String getReportingTargetDirectory()
public java.lang.String getOutputName()
public java.lang.String getName(java.util.Locale locale)
locale
- Locale for i18n.
public java.lang.String getDescription(java.util.Locale loc)
loc
- Locale fro 118n.
protected org.apache.maven.project.MavenProject getProject()
getProject
in class org.apache.maven.reporting.AbstractMavenReport
public void setProject(org.apache.maven.project.MavenProject project)
project
- Maven Projectpublic java.lang.String getMessage(java.lang.String messageKey)
public StatConf getStatConf()
public void setConfigFileParameter(java.lang.String configFile) throws net.sf.statcvs.output.ConfigurationException
net.sf.statcvs.output.ConfigurationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |