org.fusesource.mvnplugins.graph
Class ProjectReportMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.fusesource.mvnplugins.graph.ProjectMojo
          extended by org.fusesource.mvnplugins.graph.ProjectReportMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.apache.maven.reporting.MavenReport

public class ProjectReportMojo
extends ProjectMojo
implements org.apache.maven.reporting.MavenReport

Author:
Hiram Chirino

Field Summary
 
Fields inherited from class org.fusesource.mvnplugins.graph.ProjectMojo
artifactCollector, artifactFactory, artifactMetadataSource, artifactResolver, cascade, direction, hideExternal, hideGroupId, hideOmitted, hideOptional, hidePoms, hideScopes, hideTransitive, hideType, hideVersion, keepDot, label, localRepository, project, target, treeBuilder
 
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
ProjectReportMojo()
           
 
Method Summary
 boolean canGenerateReport()
           
protected  void collectProjects(ArrayList<org.apache.maven.project.MavenProject> projects)
           
 void generate(org.apache.maven.doxia.sink.Sink sink, Locale locale)
           
 String getCategoryName()
           
 String getDescription(Locale locale)
           
 String getName(Locale locale)
           
 String getOutputName()
           
 File getReportOutputDirectory()
           
 File getTarget()
           
 boolean isExternalReport()
           
 void setReportOutputDirectory(File file)
           
 
Methods inherited from class org.fusesource.mvnplugins.graph.ProjectMojo
execute
 
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

ProjectReportMojo

public ProjectReportMojo()
Method Detail

canGenerateReport

public boolean canGenerateReport()
Specified by:
canGenerateReport in interface org.apache.maven.reporting.MavenReport

getOutputName

public String getOutputName()
Specified by:
getOutputName in interface org.apache.maven.reporting.MavenReport

getName

public String getName(Locale locale)
Specified by:
getName in interface org.apache.maven.reporting.MavenReport

getDescription

public String getDescription(Locale locale)
Specified by:
getDescription in interface org.apache.maven.reporting.MavenReport

getCategoryName

public String getCategoryName()
Specified by:
getCategoryName in interface org.apache.maven.reporting.MavenReport

setReportOutputDirectory

public void setReportOutputDirectory(File file)
Specified by:
setReportOutputDirectory in interface org.apache.maven.reporting.MavenReport

getReportOutputDirectory

public File getReportOutputDirectory()
Specified by:
getReportOutputDirectory in interface org.apache.maven.reporting.MavenReport

isExternalReport

public boolean isExternalReport()
Specified by:
isExternalReport in interface org.apache.maven.reporting.MavenReport

generate

public void generate(org.apache.maven.doxia.sink.Sink sink,
                     Locale locale)
              throws org.apache.maven.reporting.MavenReportException
Specified by:
generate in interface org.apache.maven.reporting.MavenReport
Throws:
org.apache.maven.reporting.MavenReportException

collectProjects

protected void collectProjects(ArrayList<org.apache.maven.project.MavenProject> projects)
Overrides:
collectProjects in class ProjectMojo

getTarget

public File getTarget()
Overrides:
getTarget in class ProjectMojo


Copyright © 2009-2011 FuseSource. All Rights Reserved.