|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.AbstractMojo de.smartics.maven.exceptions.AbstractSdocCodeMojo
public abstract class AbstractSdocCodeMojo
Base implementation to generate SDoc documentation files.
Field Summary | |
---|---|
protected String |
locale The locale to use regardless of the report. |
protected File |
output The file to write to. |
protected ArrayList |
pluginArtifacts The plugin's dependencies to build the classpath for tools to be called. |
protected org.apache.maven.project.MavenProject |
project The Maven project. |
protected boolean |
skip A simple flag to skip the generation of the XML files. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
AbstractSdocCodeMojo() |
Method Summary | |
---|---|
void |
execute() |
org.apache.maven.project.MavenProject |
getProject() Returns the maven project. |
protected abstract void |
handleGeneratedDocuments() Handles the generated documents. |
void |
setProject(org.apache.maven.project.MavenProject project) Sets the maven project. |
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 |
Field Detail |
---|
protected org.apache.maven.project.MavenProject project
protected ArrayList pluginArtifacts
protected boolean skip
-Dsdoccode.skip
.
protected String locale
protected File output
Constructor Detail |
---|
public AbstractSdocCodeMojo()
Method Detail |
---|
public org.apache.maven.project.MavenProject getProject()
public void setProject(org.apache.maven.project.MavenProject project)
project
- the maven project.
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected abstract void handleGeneratedDocuments() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
- if the execution encounters a problem.
org.apache.maven.plugin.MojoFailureException
- if the mojo fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |