|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.nuiton.jrst.plugin.JRstPlugin
public class JRstPlugin
Transform rst site documentation into xdoc, to be used by maven
RST file have to be located in:
| Nested Class Summary | |
|---|---|
protected static class |
JRstPlugin.RessourceUpdater
An updater for resources files. |
protected static class |
JRstPlugin.RstUpdater
An updater for rst files. |
| Field Summary | |
|---|---|
protected static String[] |
DEFAULT_INCLUDE_RESOURCES
Default copy patterns if includeResources
is null. |
protected String |
defaultLocale
Default locale for generated files structure. |
protected File |
directoryIn
Site source directory. |
protected File |
directoryOut
Site generated directory. |
protected boolean |
force
Overwrite resources. |
protected boolean |
ignoreErrors
Ignore errors. |
protected String[] |
includeResources
Resources patterns to copy. |
protected String |
inputEncoding
Site source encoding. |
protected int |
numberFilesGenerates
Number of generated files. |
protected String |
outputEncoding
Site generated encoding. |
protected String |
overwrite
Overwrite already existing generated files. |
protected File |
resourceDirectoryOut
Copied resource destination directory. |
protected boolean |
verbose
Verbose. |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
JRstPlugin()
|
|
| Method Summary | |
|---|---|
protected void |
actionCopy()
|
protected void |
actionGenerate()
|
boolean |
doAction(File in,
File out)
|
void |
execute()
Execute mojo. |
JRST.Overwrite |
getOverwrite()
Get overwrite. |
| 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 static final String[] DEFAULT_INCLUDE_RESOURCES
includeResources
is null.
protected File directoryIn
protected String inputEncoding
protected File directoryOut
protected String outputEncoding
protected File resourceDirectoryOut
protected boolean ignoreErrors
protected String overwrite
protected String defaultLocale
protected boolean verbose
protected boolean force
protected String[] includeResources
protected int numberFilesGenerates
| Constructor Detail |
|---|
public JRstPlugin()
| Method Detail |
|---|
public JRST.Overwrite getOverwrite()
JRST.Overwrite
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void actionGenerate()
public boolean doAction(File in,
File out)
protected void actionCopy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||