org.objectweb.speedo.generation.api
Class SpeedoCompilerParameter

java.lang.Object
  extended byorg.objectweb.speedo.generation.api.SpeedoCompilerParameter

public class SpeedoCompilerParameter
extends java.lang.Object

This class groups all parameter of the Speedo generator/compiler/enhancer.

Author:
S.Chassande-Barrioz

Field Summary
 java.util.Collection awareFiles
          The list of .class file locations of the aware class.
 java.lang.String awareFilesDir
          The base directory of the location of .class of aware class
 Path classpath
          the classpath to compile.
 java.lang.String confFile
          The speedo configuration file
 java.util.ArrayList dtdLocations
          list of DTDLocation instance
 boolean generateNeededJormFile
          indicates if the .pd files must be generated
 java.lang.String input
          The default source directory
 Javac javac
          The compiler to use
 java.util.Collection jdo
          The list of .jdo file locations.
 java.lang.String jdoDir
          The base directory of the location of .jdo file
 java.util.Collection jorm
          The list of .pd file locations.
 java.util.Collection jormclasspath
           
 java.lang.String jormDir
          The base directory of the location of .pd file
 boolean keepsrc
          indicates if the generated java file must be kept or not
 org.objectweb.util.monolog.api.LoggerFactory loggerFactory
          The logger factory instance
 java.lang.String logPropFile
          The logging configuration file
 java.lang.String mapperName
          The jorm mapper name.
 NamingManagerFactory nmf
          The NamingManagerFactory instance to use.
 java.lang.String output
          the location of the user .class files the location where the generated files will be produced
 java.lang.String pdoutput
          The output directory of the .pd files
 java.lang.String projectName
          The jorm project name.
 SpeedoMetaInfo smi
          The Speedo meta information
 Path speedoclasspath
           
 
Constructor Summary
SpeedoCompilerParameter()
           
 
Method Summary
 java.util.Map getXmldescriptor()
           
 void setXmldescriptor(java.util.Map xmldescriptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logPropFile

public java.lang.String logPropFile
The logging configuration file


loggerFactory

public org.objectweb.util.monolog.api.LoggerFactory loggerFactory
The logger factory instance


confFile

public java.lang.String confFile
The speedo configuration file


projectName

public java.lang.String projectName
The jorm project name. The default value is an empty string (not nul)


mapperName

public java.lang.String mapperName
The jorm mapper name. The default value is null. This field MUST be set


keepsrc

public boolean keepsrc
indicates if the generated java file must be kept or not


output

public java.lang.String output
the location of the user .class files the location where the generated files will be produced


input

public java.lang.String input
The default source directory


jormclasspath

public java.util.Collection jormclasspath

speedoclasspath

public Path speedoclasspath

generateNeededJormFile

public boolean generateNeededJormFile
indicates if the .pd files must be generated


pdoutput

public java.lang.String pdoutput
The output directory of the .pd files


smi

public SpeedoMetaInfo smi
The Speedo meta information


classpath

public Path classpath
the classpath to compile. must include Jorm, Speedo, user classes.


jdo

public java.util.Collection jdo
The list of .jdo file locations. The location is relative to the value of the 'jdoDir' variable.


jdoDir

public java.lang.String jdoDir
The base directory of the location of .jdo file


jorm

public java.util.Collection jorm
The list of .pd file locations. The location is relative to the value of the 'jormDir' variable.


jormDir

public java.lang.String jormDir
The base directory of the location of .pd file


awareFiles

public java.util.Collection awareFiles
The list of .class file locations of the aware class. The location is relative to the value of the 'jormDir' variable.


awareFilesDir

public java.lang.String awareFilesDir
The base directory of the location of .class of aware class


dtdLocations

public java.util.ArrayList dtdLocations
list of DTDLocation instance


javac

public Javac javac
The compiler to use


nmf

public NamingManagerFactory nmf
The NamingManagerFactory instance to use. It permits to build the jorm meta information.

Constructor Detail

SpeedoCompilerParameter

public SpeedoCompilerParameter()
Method Detail

getXmldescriptor

public java.util.Map getXmldescriptor()

setXmldescriptor

public void setXmldescriptor(java.util.Map xmldescriptor)