Package org.nuiton.jaxx.plugin
Class AbstractJaxxMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.nuiton.plugin.AbstractPlugin
-
- org.nuiton.jaxx.plugin.AbstractJaxxMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo,org.nuiton.plugin.Plugin,org.nuiton.plugin.PluginWithEncoding
- Direct Known Subclasses:
AbstractGenerateHelpMojo,GenerateMojo
public abstract class AbstractJaxxMojo extends org.nuiton.plugin.AbstractPlugin implements org.nuiton.plugin.PluginWithEncodingAbstract Jaxx Mojo.- Since:
- 1.3
- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractJaxxMojo.JaxxFileUpdaterTo test if a jaxx source (or his css ) file is newser than his generated java source file.
-
Field Summary
Fields Modifier and Type Field Description protected booleangenerateHelpFlag to activate help id detection while parsing jaxx files.
-
Constructor Summary
Constructors Constructor Description AbstractJaxxMojo()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected booleancheckPackaging()StringgetEncoding()protected LonggetLastModified(File dir)org.apache.maven.project.MavenProjectgetProject()abstract FilegetTargetDirectory()booleanisForce()booleanisVerbose()voidsetEncoding(String encoding)voidsetForce(boolean force)voidsetProject(org.apache.maven.project.MavenProject project)abstract voidsetTargetDirectory(File targetDirectory)voidsetVerbose(boolean verbose)-
Methods inherited from class org.nuiton.plugin.AbstractPlugin
acceptPackaging, addCompileSourceRoots, addDirectoryToUrlsList, addResourceDir, addTestCompileSourceRoots, addTestResourceDir, addUrlToUrlsList, afterExecute, backupFile, checkEncoding, checkResource, checkRunOnceDone, checkSkip, copyFile, createDirectoryIfNecessary, createNewFile, deleteFile, doAction, execute, getBackupFile, getFileFromBasedir, getFilesToTreate, getFilesToTreateForRoots, getRootProject, getTemplate, hasClassPath, init, initClassLoader, isExecutionRoot, isFileNewerThanPomFile, needInvoke, needInvoke, rejectPackaging, removeCompileSourceRoots, removeTestCompileSourceRoots, renameFile, writeFile
-
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
-
-
-
Method Detail
-
getTargetDirectory
public abstract File getTargetDirectory()
-
setTargetDirectory
public abstract void setTargetDirectory(File targetDirectory)
-
checkPackaging
protected boolean checkPackaging()
- Overrides:
checkPackagingin classorg.nuiton.plugin.AbstractPlugin
-
getProject
public org.apache.maven.project.MavenProject getProject()
- Specified by:
getProjectin interfaceorg.nuiton.plugin.Plugin
-
isVerbose
public boolean isVerbose()
- Specified by:
isVerbosein interfaceorg.nuiton.plugin.Plugin
-
setProject
public void setProject(org.apache.maven.project.MavenProject project)
- Specified by:
setProjectin interfaceorg.nuiton.plugin.Plugin
-
setVerbose
public void setVerbose(boolean verbose)
- Specified by:
setVerbosein interfaceorg.nuiton.plugin.Plugin
-
getEncoding
public String getEncoding()
- Specified by:
getEncodingin interfaceorg.nuiton.plugin.PluginWithEncoding
-
setEncoding
public void setEncoding(String encoding)
- Specified by:
setEncodingin interfaceorg.nuiton.plugin.PluginWithEncoding
-
isForce
public boolean isForce()
-
setForce
public void setForce(boolean force)
-
-