|
|||||||||
| 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 class org.nuiton.jaxx.plugin.AbstractJaxxMojo |
|---|
AbstractJaxxMojo.JaxxFileUpdater |
| Nested classes/interfaces inherited from interface org.nuiton.plugin.Plugin |
|---|
org.nuiton.plugin.Plugin.InitState, org.nuiton.plugin.Plugin.Packaging |
| Field Summary | |
|---|---|
protected Set<String> |
helpIds
help ids to react. |
| 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 | |
|---|---|
GenerateHelpIdsMojo()
|
|
| Method Summary | |
|---|---|
protected boolean |
checkSkip()
|
void |
doAction()
|
protected void |
doActionForLocale(Locale locale,
boolean isDefaultLocale,
File source,
String localePath)
Do the action for the given locale. |
File |
getTargetDirectory()
|
void |
init()
|
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 |
|---|
cleanHelpIdsStore, getHelpIdsFilename, getHelpIdsStoreFile, getMergeHelpIdsFilename, getMergeHelpIdsStoreFile, getOutputHelpIds, 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, addTestCompileSourceRoots, addTestResourceDir, addUrlToUrlsList, afterExecute, backupFile, checkResource, checkRunOnceDone, copyFile, createDirectoryIfNecessary, createNewFile, deleteFile, execute, getBackupFile, getFileFromBasedir, getFilesToTreate, getFilesToTreateForRoots, getRootProject, 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 |
| Field Detail |
|---|
protected Set<String> helpIds
| Constructor Detail |
|---|
public GenerateHelpIdsMojo()
| Method Detail |
|---|
public void init()
throws Exception
init in class AbstractGenerateHelpMojoExceptionprotected boolean checkSkip()
checkSkip in class AbstractGenerateHelpMojo
public void doAction()
throws Exception
doAction in class AbstractGenerateHelpMojoException
protected void doActionForLocale(Locale locale,
boolean isDefaultLocale,
File source,
String localePath)
throws 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).
Exception - if any pbprotected void postDoAction()
AbstractGenerateHelpMojo
postDoAction in class AbstractGenerateHelpMojopublic File getTargetDirectory()
getTargetDirectory in class AbstractJaxxMojopublic void setTargetDirectory(File targetDirectory)
setTargetDirectory in class AbstractJaxxMojo
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||