|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.codehaus.mojo.scmchangelog.ScmActivityReport
public class ScmActivityReport
Goal which produces a changelog report based on the Subversion logs.
| 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 | |
|---|---|
ScmActivityReport()
|
|
| Method Summary | |
|---|---|
void |
checkResult(org.apache.maven.scm.ScmResult result)
Manages the result of the SCM command. |
protected void |
doGenerateReport(List releases,
org.apache.maven.doxia.sink.Sink sink)
Generates the report for this mojo. |
protected String |
doLinkIssue(String issue)
Computes the URL to the issue in the bug tracker. |
protected void |
executeReport(Locale locale)
Build the report. |
protected String |
formatDate(Date date)
Format a java.util.Date using the specified date format. |
protected String |
formatTimestamp(Date date)
Format a java.util.Date using the specified timestamp format. |
protected BugTrackLinker |
getBugTrackLinker()
|
protected ResourceBundle |
getBundle(Locale locale)
|
String |
getConnectionUrl()
Getter for the connection URL to the SCM. |
String |
getDescription(Locale locale)
|
org.apache.maven.scm.ScmFileSet |
getFileSet(String fileName)
Build a SCM file set for a file in the SCM. |
org.apache.maven.scm.ScmFileSet |
getFileSet(String includes,
String excludes)
Build a SCM file set for a file in the SCM. |
Log |
getLog()
Returns the logger that has been injected into this mojo. |
String |
getName(Locale locale)
|
protected String |
getOutputDirectory()
Return the output directory |
String |
getOutputName()
|
protected Pattern |
getPattern()
Compile the filter into a pattern. |
protected MavenProject |
getProject()
Returns the current Maven Project |
org.apache.maven.scm.manager.ScmManager |
getScmManager()
Getter for the SCM Manager with our own SCM providers. |
org.apache.maven.scm.repository.ScmRepository |
getScmRepository()
Getter for the ScmRepository. |
protected org.apache.maven.doxia.siterenderer.Renderer |
getSiteRenderer()
Return the Maven Site renderer |
protected String |
getTrackerType()
Getter for the bug tracker type. |
void |
setConnectionUrl(String connectionUrl)
Setter for the connection URL to the SCM. |
void |
setLog(Log log)
|
| Methods inherited from class org.apache.maven.reporting.AbstractMavenReport |
|---|
canGenerateReport, closeReport, execute, generate, getCategoryName, getReportOutputDirectory, getSink, isExternalReport, setReportOutputDirectory |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getPluginContext, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScmActivityReport()
| Method Detail |
|---|
protected MavenProject getProject()
getProject in class AbstractMavenReportAbstractMavenReport.getProject()protected String getOutputDirectory()
getOutputDirectory in class AbstractMavenReportAbstractMavenReport.getOutputDirectory()protected org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()
getSiteRenderer in class AbstractMavenReportAbstractMavenReport.getSiteRenderer()public String getDescription(Locale locale)
locale - the current locale
MavenReport.getDescription(java.util.Locale)public String getName(Locale locale)
locale - the current locale
MavenReport.getName(java.util.Locale)public String getOutputName()
MavenReport.getOutputName()protected ResourceBundle getBundle(Locale locale)
locale - the current locale
MavenReport.getOutputName()
protected void executeReport(Locale locale)
throws MavenReportException
executeReport in class AbstractMavenReportlocale - the current locale.
MavenReportException - in case of an error
generating the report.
protected void doGenerateReport(List releases,
org.apache.maven.doxia.sink.Sink sink)
releases - releases to generate the report from.sink - the report formatting tool.protected String formatDate(Date date)
date - the date to be formatted.
protected String formatTimestamp(Date date)
date - the date to be formatted.
protected BugTrackLinker getBugTrackLinker()
protected String doLinkIssue(String issue)
issue - ghe id of the issue.
protected String getTrackerType()
public String getConnectionUrl()
public void setConnectionUrl(String connectionUrl)
connectionUrl - the connection URL to the SCM.public org.apache.maven.scm.manager.ScmManager getScmManager()
protected Pattern getPattern()
public org.apache.maven.scm.ScmFileSet getFileSet(String fileName)
throws IOException
fileName - the file/dir in the SCM.
IOException - in case of an I/O error.
public org.apache.maven.scm.ScmFileSet getFileSet(String includes,
String excludes)
throws IOException
includes - include filters.excludes - exclude filters.
IOException - in case of an I/O error.
public org.apache.maven.scm.repository.ScmRepository getScmRepository()
throws org.apache.maven.scm.ScmException
org.apache.maven.scm.ScmException - in case of an error in creating the ScmRepository.
public void checkResult(org.apache.maven.scm.ScmResult result)
throws MojoExecutionException
result - the result of the SCM command.
MojoExecutionException - in case of an error executing the Mojo.public void setLog(Log log)
setLog in interface MojosetLog in class AbstractMojoMojo.setLog(org.apache.maven.plugin.logging.Log)public Log getLog()
SystemStreamLog
logger will be created and returned.
getLog in interface MojogetLog in class AbstractMojoMojo.getLog()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||