org.apache.velocity.site.news.plugin
Class VelocityNewsReport

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.reporting.AbstractMavenReport
          extended by org.apache.velocity.site.news.plugin.VelocityNewsReport
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.apache.maven.reporting.MavenReport, NewsReport, NewsFeed, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

public class VelocityNewsReport
extends org.apache.maven.reporting.AbstractMavenReport
implements org.apache.maven.reporting.MavenReport, NewsReport, NewsFeed, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

Report news items for the site.

Version:
$Revision: 526767 $
Author:
Henning P. Schmiedehausen

Field Summary
protected  org.codehaus.plexus.PlexusContainer container
           
 
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
VelocityNewsReport()
           
 
Method Summary
 void contextualize(org.codehaus.plexus.context.Context context)
           
protected  void executeReport(java.util.Locale locale)
           
 org.apache.maven.doxia.parser.Parser getAptParser()
           
 java.lang.String getBaseUrl()
           
 java.util.ResourceBundle getBundle(java.util.Locale locale)
           
 java.lang.String getDescription(java.util.Locale locale)
           
 java.lang.String getName(java.util.Locale locale)
           
 java.lang.String getOutputDirectory()
           
 java.lang.String getOutputName()
           
 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, 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
 
Methods inherited from interface org.apache.maven.reporting.MavenReport
canGenerateReport, generate, getCategoryName, getReportOutputDirectory, isExternalReport, setReportOutputDirectory
 
Methods inherited from interface org.apache.velocity.site.news.NewsReport
getSink
 

Field Detail

container

protected org.codehaus.plexus.PlexusContainer container
Constructor Detail

VelocityNewsReport

public VelocityNewsReport()
Method Detail

contextualize

public void contextualize(org.codehaus.plexus.context.Context context)
                   throws org.codehaus.plexus.context.ContextException
Specified by:
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
Throws:
org.codehaus.plexus.context.ContextException

getOutputDirectory

public java.lang.String getOutputDirectory()
Specified by:
getOutputDirectory in interface NewsFeed
Specified by:
getOutputDirectory in class org.apache.maven.reporting.AbstractMavenReport
See Also:
AbstractMavenReport.getOutputDirectory()

getProject

public org.apache.maven.project.MavenProject getProject()
Specified by:
getProject in interface NewsFeed
Specified by:
getProject in class org.apache.maven.reporting.AbstractMavenReport
See Also:
AbstractMavenReport.getProject()

getSiteRenderer

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

getOutputName

public java.lang.String getOutputName()
Specified by:
getOutputName in interface org.apache.maven.reporting.MavenReport
Specified by:
getOutputName in interface NewsReport
Specified by:
getOutputName in interface NewsFeed
See Also:
MavenReport.getOutputName()

getBundle

public java.util.ResourceBundle getBundle(java.util.Locale locale)
Specified by:
getBundle in interface NewsReport

getDescription

public java.lang.String getDescription(java.util.Locale locale)
Specified by:
getDescription in interface org.apache.maven.reporting.MavenReport
See Also:
MavenReport.getDescription(java.util.Locale)

getName

public java.lang.String getName(java.util.Locale locale)
Specified by:
getName in interface org.apache.maven.reporting.MavenReport
See Also:
MavenReport.getName(java.util.Locale)

getBaseUrl

public java.lang.String getBaseUrl()
Specified by:
getBaseUrl in interface NewsFeed

getAptParser

public org.apache.maven.doxia.parser.Parser getAptParser()
Specified by:
getAptParser in interface NewsReport
Specified by:
getAptParser in interface NewsFeed

executeReport

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


Copyright © 2006-2007 The Apache Software Foundation. All Rights Reserved.