|
|||||||||
| 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 java.lang.String[] |
DEFAULT_INCLUDE_RESOURCES
Default copy patterns if includeResources
is null. |
protected java.lang.String |
defaultLocale
Default locale for generated files structure. |
protected java.io.File |
directoryIn
Site source directory. |
protected java.io.File |
directoryOut
Site generated directory. |
protected boolean |
force
Overwrite resources. |
protected boolean |
ignoreErrors
Ignore errors. |
protected java.lang.String[] |
includeResources
Resources patterns to copy. |
protected java.lang.String |
inputEncoding
Site source encoding. |
protected int |
numberFilesGenerates
Number of generated files. |
protected java.lang.String |
outputEncoding
Site generated encoding. |
protected java.lang.String |
overwrite
Overwrite already existing generated files. |
protected java.io.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(java.io.File in,
java.io.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 java.lang.String[] DEFAULT_INCLUDE_RESOURCES
includeResources
is null.
protected java.io.File directoryIn
protected java.lang.String inputEncoding
protected java.io.File directoryOut
protected java.lang.String outputEncoding
protected java.io.File resourceDirectoryOut
protected boolean ignoreErrors
protected java.lang.String overwrite
protected java.lang.String defaultLocale
protected boolean verbose
protected boolean force
protected java.lang.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(java.io.File in,
java.io.File out)
protected void actionCopy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||