org.nuiton.jaxx
Class AbstractJaxxMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.nuiton.jaxx.AbstractJaxxMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
JaxxGeneratorMojo, JaxxHelpGeneratorMojo

public abstract class AbstractJaxxMojo
extends org.apache.maven.plugin.AbstractMojo

Abract Jaxx Mojo.

Since:
1.3
Author:
chemit

Field Summary
protected  java.lang.ClassLoader cl
           
protected  java.io.File helpIdStore
          The store of helpIds generated by JaxxGeneratorMojo.
protected  java.lang.String helpsetI18nPrefix
          The prefix to add to i18n key for any help i18n key.
protected  java.lang.String helpsetIndexI18nSuffix
          The suffix to add to i18n key for an toc Id.
protected  java.lang.String helpSetName
          The name of the helpset to generate.
protected  java.lang.String helpsetTitleI18nSuffix
          The suffix to add to i18n key for an help Id.
protected  java.lang.String helpsetTocI18nSuffix
          The suffix to add to i18n key for an toc Id.
protected  boolean i18nable
          to make compiler i18nable, says add the I18n._(String, Object[]) method invocation on I18nHelper.I18N_ATTRIBUTES attributes.
protected  java.io.File outJava
          Repertoire de destination des fichiers java a generer.
protected  org.apache.maven.project.MavenProject project
          Dépendance du projet.
protected  boolean skip
           
protected  boolean verbose
          verbose flag
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractJaxxMojo()
           
 
Method Summary
abstract  void doAction()
           
 void execute()
           
abstract  void init()
           
 
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
 

Field Detail

project

protected org.apache.maven.project.MavenProject project
Dépendance du projet.


outJava

protected java.io.File outJava
Repertoire de destination des fichiers java a generer.


verbose

protected boolean verbose
verbose flag

Since:
1.3

i18nable

protected boolean i18nable
to make compiler i18nable, says add the I18n._(String, Object[]) method invocation on I18nHelper.I18N_ATTRIBUTES attributes.

See Also:
I18nHelper

helpIdStore

protected java.io.File helpIdStore
The store of helpIds generated by JaxxGeneratorMojo.

Since:
1.3

helpSetName

protected java.lang.String helpSetName
The name of the helpset to generate.

Since:
1.3

helpsetI18nPrefix

protected java.lang.String helpsetI18nPrefix
The prefix to add to i18n key for any help i18n key.

Since:
1.3

helpsetTitleI18nSuffix

protected java.lang.String helpsetTitleI18nSuffix
The suffix to add to i18n key for an help Id.

Since:
1.3

helpsetTocI18nSuffix

protected java.lang.String helpsetTocI18nSuffix
The suffix to add to i18n key for an toc Id.

Since:
1.3

helpsetIndexI18nSuffix

protected java.lang.String helpsetIndexI18nSuffix
The suffix to add to i18n key for an toc Id.

Since:
1.3

skip

protected boolean skip

cl

protected java.lang.ClassLoader cl
Constructor Detail

AbstractJaxxMojo

public AbstractJaxxMojo()
Method Detail

init

public abstract void init()
                   throws java.lang.Exception
Throws:
java.lang.Exception

doAction

public abstract void doAction()
                       throws java.lang.Exception
Throws:
java.lang.Exception

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2008-2009 CodeLutin. All Rights Reserved.