|
|||||||||
| 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.processor.plugin.ProcessorPlugin
public class ProcessorPlugin
Maven2 plugin for Nuiton Processor.
Created: 14 avril 2006
| 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 |
destDir
Répertoire cible |
protected String |
excludes
Fichiers à exclure. |
protected String |
fileInPattern
??? |
protected String |
fileOutPattern
|
protected Map<String,String> |
filesToTreate
Les fichiers à traiter |
protected String |
filters
Les filtres a utiliser par le processor, séparés par des virgules |
protected String |
includes
Fichiers à inclure. |
protected boolean |
overwrite
Ecrase les fichiers générés |
protected org.apache.maven.project.MavenProject |
project
Dependance du projet. |
protected File |
srcDir
Répertoire source |
protected boolean |
testPhase
Pour utiliser en phase de test |
protected boolean |
verbose
Permet d'obtenir plus d'information |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
ProcessorPlugin()
|
|
| Method Summary | |
|---|---|
protected boolean |
checkSkip()
|
protected void |
doAction()
|
String |
getEncoding()
|
org.apache.maven.project.MavenProject |
getProject()
|
protected void |
init()
|
boolean |
isVerbose()
|
protected void |
printConfig()
|
void |
setEncoding(String encoding)
|
void |
setProject(org.apache.maven.project.MavenProject project)
|
void |
setVerbose(boolean verbose)
|
| Methods inherited from class org.nuiton.plugin.AbstractPlugin |
|---|
acceptPackaging, addCompileSourceRoots, addDirectoryToUrlsList, addResourceDir, addTestCompileSourceRoots, addTestResourceDir, addUrlToUrlsList, afterExecute, backupFile, checkEncoding, checkPackaging, checkResource, checkRunOnceDone, copyFile, createDirectoryIfNecessary, createNewFile, deleteFile, execute, getBackupFile, getFileFromBasedir, getFilesToTreate, getFilesToTreateForRoots, getRootProject, getTemplate, hasClassPath, 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 |
|---|
execute, getLog, setLog |
| Field Detail |
|---|
protected org.apache.maven.project.MavenProject project
protected File srcDir
protected File destDir
protected String includes
protected String excludes
protected String fileInPattern
protected String fileOutPattern
protected String filters
protected boolean overwrite
protected boolean verbose
protected boolean testPhase
protected Map<String,String> filesToTreate
| Constructor Detail |
|---|
public ProcessorPlugin()
| Method Detail |
|---|
public boolean isVerbose()
isVerbose in interface org.nuiton.plugin.Pluginpublic void setVerbose(boolean verbose)
setVerbose in interface org.nuiton.plugin.Pluginpublic org.apache.maven.project.MavenProject getProject()
getProject in interface org.nuiton.plugin.Pluginpublic void setProject(org.apache.maven.project.MavenProject project)
setProject in interface org.nuiton.plugin.Pluginpublic final String getEncoding()
getEncoding in interface org.nuiton.plugin.PluginWithEncodingpublic final void setEncoding(String encoding)
setEncoding in interface org.nuiton.plugin.PluginWithEncoding
protected void init()
throws Exception
init in class org.nuiton.plugin.AbstractPluginExceptionprotected boolean checkSkip()
checkSkip in class org.nuiton.plugin.AbstractPlugin
protected void doAction()
throws Exception
doAction in class org.nuiton.plugin.AbstractPluginExceptionprotected void printConfig()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||