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

java.lang.Object
  extended by fr.paris.lutece.plugins.pluginwizard.service.generator.AbstractGenerator
      extended by fr.paris.lutece.plugins.pluginwizard.service.generator.AbstractFileGenerator
          extended by fr.paris.lutece.plugins.pluginwizard.service.generator.PropertiesGenerator
All Implemented Interfaces:
Generator

public class PropertiesGenerator
extends AbstractFileGenerator

Class generates properties needed by the plugin


Constructor Summary
PropertiesGenerator()
           
 
Method Summary
 Map generate(PluginModel pm)
          Visiting parts of the file tree structure
protected  String getFilename(PluginModel pm)
          Get the filename
 String getPath()
          Returns the Path
 
Methods inherited from class fr.paris.lutece.plugins.pluginwizard.service.generator.AbstractFileGenerator
generateFile, getCode, getFilePath, setPath
 
Methods inherited from class fr.paris.lutece.plugins.pluginwizard.service.generator.AbstractGenerator
build, build, build, build, getFilePath, getFirstCaps, getModel, getTemplate, setTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesGenerator

public PropertiesGenerator()
Method Detail

generate

public Map generate(PluginModel pm)
Visiting parts of the file tree structure

Parameters:
pm - The plugin model
Returns:
A hadh map with the name of the file and a string in which is found the corresponding source code

getFilename

protected String getFilename(PluginModel pm)
Get the filename

Specified by:
getFilename in class AbstractFileGenerator
Parameters:
pm - The plugin model
Returns:
The filename

getPath

public String getPath()
Returns the Path

Overrides:
getPath in class AbstractFileGenerator
Returns:
The Path


Copyright © 2013 Mairie de Paris. All Rights Reserved.