|
|||||||||
| 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.plugin.AbstractPlugin
org.nuiton.jaxx.plugin.AbstractJaxxMojo
org.nuiton.jaxx.plugin.AbstractGenerateHelpMojo
org.nuiton.jaxx.plugin.GenerateHelpMojo
public class GenerateHelpMojo
Mojo to generate all the javax help stuff for your project.
This mojo will chain all others help mojo required.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.nuiton.plugin.Plugin |
|---|
org.nuiton.plugin.Plugin.InitState, org.nuiton.plugin.Plugin.Packaging |
| Field Summary |
|---|
| Fields inherited from class org.nuiton.jaxx.plugin.AbstractGenerateHelpMojo |
|---|
generateSearch, locales |
| Fields inherited from class org.nuiton.jaxx.plugin.AbstractJaxxMojo |
|---|
generateHelp |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
GenerateHelpMojo()
|
|
| Method Summary | |
|---|---|
void |
doAction()
|
protected void |
doActionForLocale(Locale locale,
boolean isDefaultLocale,
File localizedTarget,
String localePath)
Do the action for the given locale. |
File |
getTargetDirectory()
|
protected void |
postDoAction()
Call back after doing all stuff for all locales declared |
void |
setTargetDirectory(File targetDirectory)
|
| Methods inherited from class org.nuiton.jaxx.plugin.AbstractGenerateHelpMojo |
|---|
checkSkip, cleanHelpIdsStore, getHelpIdsFilename, getHelpIdsStoreFile, getMergeHelpIdsFilename, getMergeHelpIdsStoreFile, getOutputHelpIds, init, loadHelpIds, removeQuote, setHelpIdsFilename, setMergeHelpIdsFilename, setOutputHelpIds, storeHelpIds |
| Methods inherited from class org.nuiton.jaxx.plugin.AbstractJaxxMojo |
|---|
checkPackaging, getEncoding, getLastModified, getProject, isForce, isVerbose, setEncoding, setForce, setProject, setVerbose |
| Methods inherited from class org.nuiton.plugin.AbstractPlugin |
|---|
acceptPackaging, addCompileSourceRoots, addDirectoryToUrlsList, addResourceDir, addResourceDir, addTestCompileSourceRoots, addTestResourceDir, addTestResourceDir, addUrlToUrlsList, afterExecute, backupFile, checkResource, checkRunOnceDone, copyFile, createDirectoryIfNecessary, createNewFile, deleteFile, execute, getBackupFile, getFileFromBasedir, getFilesToTreate, getFilesToTreateForRoots, getTemplate, initClassLoader, isExecutionRoot, isFileNewerThanPomFile, rejectPackaging, removeCompileSourceRoots, removeTestCompileSourceRoots, renameFile, writeFile |
| 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 |
| Methods inherited from interface org.apache.maven.plugin.Mojo |
|---|
getLog, setLog |
| Constructor Detail |
|---|
public GenerateHelpMojo()
| Method Detail |
|---|
public File getTargetDirectory()
getTargetDirectory in class AbstractJaxxMojopublic void setTargetDirectory(File targetDirectory)
setTargetDirectory in class AbstractJaxxMojo
public void doAction()
throws Exception
doAction in class AbstractGenerateHelpMojoExceptionprotected void postDoAction()
AbstractGenerateHelpMojo
postDoAction in class AbstractGenerateHelpMojo
protected void doActionForLocale(Locale locale,
boolean isDefaultLocale,
File localizedTarget,
String localePath)
throws Exception
AbstractGenerateHelpMojo
doActionForLocale in class AbstractGenerateHelpMojolocale - the locale to treateisDefaultLocale - true if given locale is de the default
localelocalizedTarget - where are stored help files for the given localelocalePath - the locale path to use (is default if
given locale is default).
Exception - if any pb
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||