|
|||||||||
| 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.GenerateHelpSearchMojo
public class GenerateHelpSearchMojo
Generate the javax search index help for your project.
The current files should be generated always in a generated directory and not in your src directories (this is mainly binary files not to be stored in scm system)...
| 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 | |
|---|---|
protected File |
inputHelp
The directory where to pick content files to generate the index. |
protected File |
outputHelpSearch
The directory where to create or update help search index files. |
protected String |
timestamp
|
| 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 | |
|---|---|
GenerateHelpSearchMojo()
|
|
| Method Summary | |
|---|---|
protected boolean |
checkSkip()
|
protected void |
doActionForLocale(Locale locale,
boolean isDefaultLocale,
File localizedTarget,
String localePath)
Do the action for the given locale. |
protected void |
generateSearchIndex(File source,
File target,
Locale 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, doAction, 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, 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 |
| Field Detail |
|---|
protected File outputHelpSearch
protected File inputHelp
protected String timestamp
| Constructor Detail |
|---|
public GenerateHelpSearchMojo()
| Method Detail |
|---|
public void init()
throws Exception
init in class AbstractGenerateHelpMojoExceptionpublic File getTargetDirectory()
getTargetDirectory in class AbstractJaxxMojopublic void setTargetDirectory(File targetDirectory)
setTargetDirectory in class AbstractJaxxMojoprotected boolean checkSkip()
checkSkip 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 pbprotected void postDoAction()
AbstractGenerateHelpMojo
postDoAction in class AbstractGenerateHelpMojo
protected void generateSearchIndex(File source,
File target,
Locale locale)
throws Exception
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||