|
|||||||||
| 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.GenerateHelpIdsMojo
public class GenerateHelpIdsMojo
Generate the help ids files from the previous jaxx generation. Created: 22 déc. 2009
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.nuiton.plugin.Plugin |
|---|
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 class org.nuiton.plugin.AbstractPlugin |
|---|
skipAfterInitMessage |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
GenerateHelpIdsMojo()
|
|
| Method Summary | |
|---|---|
void |
doAction()
|
protected void |
doActionForLocale(java.util.Locale locale,
boolean isDefaultLocale,
java.io.File source,
java.lang.String localePath)
Do the action for the given locale. |
java.io.File |
getTargetDirectory()
|
boolean |
init()
|
protected void |
postDoAction()
Call back after doing all stuff for all locales declared |
void |
setTargetDirectory(java.io.File targetDirectory)
|
| Methods inherited from class org.nuiton.jaxx.plugin.AbstractGenerateHelpMojo |
|---|
cleanHelpIdsStore, getHelpIdsFilename, getHelpIdsStoreFile, getMergeHelpIdsFilename, getMergeHelpIdsStoreFile, getOutputHelpIds, loadHelpIds, removeQuote, setHelpIdsFilename, setMergeHelpIdsFilename, setOutputHelpIds, skipAction, storeHelpIds |
| Methods inherited from class org.nuiton.jaxx.plugin.AbstractJaxxMojo |
|---|
addResourceDir, addResourceDir, addTestResourceDir, checkPackaging, createDirectoryIfNecessary, getEncoding, getLastModified, getProject, isForce, isVerbose, setEncoding, setForce, setProject, setVerbose |
| Methods inherited from class org.nuiton.plugin.AbstractPlugin |
|---|
acceptPackaging, addCompileSourceRoots, addDirectoryToUrlsList, addResourceDir, addTestCompileSourceRoots, addTestResourceDir, addUrlToUrlsList, checkResource, checkRunOnceDone, copyFile, execute, getFileFromBasedir, getFilesToTreate, getFilesToTreateForRoots, getTemplate, initClassLoader, isExecutionRoot, isFileNewerThanPomFile, rejectPackaging, removeCompileSourceRoots, removeTestCompileSourceRoots, 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 GenerateHelpIdsMojo()
| Method Detail |
|---|
public boolean init()
throws java.lang.Exception
init in class AbstractGenerateHelpMojojava.lang.Exception
public void doAction()
throws java.lang.Exception
doAction in class AbstractGenerateHelpMojojava.lang.Exception
protected void doActionForLocale(java.util.Locale locale,
boolean isDefaultLocale,
java.io.File source,
java.lang.String localePath)
throws java.lang.Exception
AbstractGenerateHelpMojo
doActionForLocale in class AbstractGenerateHelpMojolocale - the locale to treateisDefaultLocale - true if given locale is de the default localesource - where are stored help files for the given localelocalePath - the locale path to use (is default if given locale is default).
java.lang.Exception - if any pbprotected void postDoAction()
AbstractGenerateHelpMojo
postDoAction in class AbstractGenerateHelpMojopublic java.io.File getTargetDirectory()
getTargetDirectory in class AbstractJaxxMojopublic void setTargetDirectory(java.io.File targetDirectory)
setTargetDirectory in class AbstractJaxxMojo
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||