@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, setSharedProjectState
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
execute
in interface org.apache.maven.plugin.Mojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
public void generate(org.codehaus.doxia.sink.Sink sink, Locale locale) throws org.apache.maven.reporting.MavenReportException
generate
in interface org.apache.maven.reporting.MavenReport
org.apache.maven.reporting.MavenReportException
public String getOutputName()
getOutputName
in interface org.apache.maven.reporting.MavenReport
public String getCategoryName()
getCategoryName
in interface org.apache.maven.reporting.MavenReport
public void setName(String name)
public String getName(Locale locale)
getName
in interface org.apache.maven.reporting.MavenReport
public void setDescription(String description)
public String getDescription(Locale locale)
getDescription
in interface org.apache.maven.reporting.MavenReport
public File getReportOutputDirectory()
getReportOutputDirectory
in interface org.apache.maven.reporting.MavenReport
public void setReportOutputDirectory(File reportOutputDirectory)
setReportOutputDirectory
in interface org.apache.maven.reporting.MavenReport
public String getDestDir()
public void setDestDir(String destDir)
public boolean isExternalReport()
isExternalReport
in interface org.apache.maven.reporting.MavenReport
public boolean canGenerateReport()
canGenerateReport
in interface org.apache.maven.reporting.MavenReport
public 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