org.nuiton.eugene.plugin
Class Xmi2StateModel

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.nuiton.plugin.AbstractPlugin
          extended by org.nuiton.eugene.plugin.EugeneAbstractMojo
              extended by org.nuiton.eugene.plugin.Xmi2Model
                  extended by org.nuiton.eugene.plugin.Xmi2StateModel
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.nuiton.plugin.Plugin

public class Xmi2StateModel
extends Xmi2Model

Converti les fichiers XMI en fichier StateModel

Is defined by the goal name:
xmi2statemodel

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
 
Fields inherited from class org.nuiton.eugene.plugin.Xmi2Model
acceptedXmiTypes, extraClassPathDirectory, extractedPackages, fullPackagePath, resolver, xmiResources
 
Fields inherited from class org.nuiton.eugene.plugin.EugeneAbstractMojo
encoding, overwrite, project, settings, testPhase, verbose
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
Xmi2StateModel()
           
 
Method Summary
 void doAction()
           
protected  String getExtension()
          Get extension.
protected  String getStyleSheet(File model)
          Get style sheet.
 
Methods inherited from class org.nuiton.eugene.plugin.Xmi2Model
actionXsl, fixClassLoader, getAcceptedTypesAsArray, getResources, getSuffixPattern, getUriResolver, initResources
 
Methods inherited from class org.nuiton.eugene.plugin.EugeneAbstractMojo
getProject, init, initResources, isVerbose, setProject, setVerbose
 
Methods inherited from class org.nuiton.plugin.AbstractPlugin
acceptPackaging, addCompileSourceRoots, addDirectoryToUrlsList, addResourceDir, addTestCompileSourceRoots, addTestResourceDir, addUrlToUrlsList, afterExecute, backupFile, checkPackaging, checkResource, checkRunOnceDone, checkSkip, 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
 

Constructor Detail

Xmi2StateModel

public Xmi2StateModel()
Method Detail

doAction

public void doAction()
              throws Exception
Overrides:
doAction in class Xmi2Model
Throws:
Exception

getExtension

protected String getExtension()
Description copied from class: Xmi2Model
Get extension.

Specified by:
getExtension in class Xmi2Model
Returns:
the extension

getStyleSheet

protected String getStyleSheet(File model)
Description copied from class: Xmi2Model
Get style sheet.

Specified by:
getStyleSheet in class Xmi2Model
Parameters:
model - the model file used to determine the stylesheet to use
Returns:
the stylesheet name


Copyright © 2006-2010 CodeLutin. All Rights Reserved.