fr.paris.lutece.plugins.pluginwizard.service.generator
Class PomGenerator

java.lang.Object
  extended by fr.paris.lutece.plugins.pluginwizard.service.generator.PomGenerator
All Implemented Interfaces:
Visitor

public class PomGenerator
extends java.lang.Object
implements Visitor

The Pom generator is responsible of generating a project object model used by maven


Constructor Summary
PomGenerator()
           
 
Method Summary
 java.util.HashMap visitPath(java.lang.String strPath, fr.paris.lutece.portal.service.plugin.Plugin plugin, PluginModel pluginModel)
          Visits the path and verifies xml plugin description file is needed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PomGenerator

public PomGenerator()
Method Detail

visitPath

public java.util.HashMap visitPath(java.lang.String strPath,
                                   fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                   PluginModel pluginModel)
Visits the path and verifies xml plugin description file is needed

Specified by:
visitPath in interface Visitor
Parameters:
strPath - The path in the tree structure where the pom file will be placed
plugin - The pluginwizard plugin
pluginModel - The representation of the plugin to be created
Returns:
A hashmap with the filename and the text content of the pom file


Copyright © 2012 Mairie de Paris. All Rights Reserved.