@Mojo(name="document",
requiresDependencyResolution=COMPILE,
requiresProject=true,
defaultPhase=SITE)
public class DocumentGeneratorMojo
extends AbstractGeneratorMojo
implements org.apache.maven.reporting.MavenReport
| Modifier and Type | Class and Description |
|---|---|
static class |
DocumentGeneratorMojo.EndpointInfo |
COMPONENT_PACKAGE, componentName, componentPackage, log, OUT_PACKAGE, outPackage, PREFIX, project, scheme| Constructor and Description |
|---|
DocumentGeneratorMojo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGenerateReport() |
void |
execute() |
void |
generate(org.codehaus.doxia.sink.Sink sink,
Locale locale) |
static String |
getCanonicalName(Field field) |
String |
getCategoryName() |
String |
getDescription(Locale locale) |
String |
getDestDir() |
static List<DocumentGeneratorMojo.EndpointInfo> |
getEndpoints(Class<? extends org.apache.camel.util.component.ApiMethod> apiMethod,
org.apache.camel.util.component.ApiMethodHelper<?> helper,
Class<?> endpointConfig) |
String |
getName(Locale locale) |
String |
getOutputName() |
File |
getReportOutputDirectory() |
boolean |
isExternalReport() |
void |
setDescription(String description) |
void |
setDestDir(String destDir) |
void |
setName(String name) |
void |
setReportOutputDirectory(File reportOutputDirectory) |
clearSharedProjectState, getCanonicalName, getEngine, getProjectClassLoader, mergeTemplate, setSharedProjectStatepublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic void generate(org.codehaus.doxia.sink.Sink sink,
Locale locale)
throws org.apache.maven.reporting.MavenReportException
generate in interface org.apache.maven.reporting.MavenReportorg.apache.maven.reporting.MavenReportExceptionpublic String getOutputName()
getOutputName in interface org.apache.maven.reporting.MavenReportpublic String getCategoryName()
getCategoryName in interface org.apache.maven.reporting.MavenReportpublic void setName(String name)
public String getName(Locale locale)
getName in interface org.apache.maven.reporting.MavenReportpublic void setDescription(String description)
public String getDescription(Locale locale)
getDescription in interface org.apache.maven.reporting.MavenReportpublic File getReportOutputDirectory()
getReportOutputDirectory in interface org.apache.maven.reporting.MavenReportpublic void setReportOutputDirectory(File reportOutputDirectory)
setReportOutputDirectory in interface org.apache.maven.reporting.MavenReportpublic String getDestDir()
public void setDestDir(String destDir)
public boolean isExternalReport()
isExternalReport in interface org.apache.maven.reporting.MavenReportpublic boolean canGenerateReport()
canGenerateReport in interface org.apache.maven.reporting.MavenReportpublic static List<DocumentGeneratorMojo.EndpointInfo> getEndpoints(Class<? extends org.apache.camel.util.component.ApiMethod> apiMethod, org.apache.camel.util.component.ApiMethodHelper<?> helper, Class<?> endpointConfig)
Apache Camel