net.anotheria.asg.generator.apputil.AppUtilGenerator Maven / Gradle / Ivy
package net.anotheria.asg.generator.apputil;
import net.anotheria.asg.generator.AbstractAnoDocGenerator;
import net.anotheria.asg.generator.Context;
import net.anotheria.asg.generator.FileEntry;
import net.anotheria.asg.generator.meta.MetaModule;
import java.util.ArrayList;
import java.util.List;
/**
* AppUtilGenerator class.
*
* @author another
* @version $Id: $Id
*/
public class AppUtilGenerator extends AbstractAnoDocGenerator{
private Context context;
/**
* Constructor for AppUtilGenerator.
*
* @param aContext a {@link net.anotheria.asg.generator.Context} object.
*/
public AppUtilGenerator(Context aContext){
context = aContext;
}
/**
* generate.
*
* @param modules a {@link java.util.List} object.
*/
public void generate(List modules){
List files = new ArrayList();
files.addAll(new CallContextGenerator().generate(null));
files.addAll(new XMLExporterGenerator().generate(modules));
files.addAll(new XMLImporterGenerator().generate(modules, context));
files.addAll(new LanguageUtilsGenerator().generate(modules, context));
files.addAll(new BasicServiceUtilGenerator().generate(modules));
//files.addAll(new Log4JConfigurationGenerator().generate(null));
writeFiles(files);
}
}