Class | Description |
---|---|
BackupCheckPrompter | |
CodeGeneratorLauncher |
This class can be launched to execute code writing
Argument required : the workspace folder where the "data-model" folder will be detected Depending on the meta data that is going to be read, the main method will : load the project representation build a tree of files that are going to be written launch a cascading writing of the files in the tree |
DatabaseBuilderLauncher |
This class can be launched to execute your database building
Argument required : the workspace folder where the "data-model" folder will be detected the database name that must be declared in /data-model/CONTEXT/datasource-context.xml Depending on the meta data that is going to be read, the main method will : load the project representation clean the project database execute all the SQL files that have been previously generated to build your database |
DatabasePopulatorLauncher |
This class can be launched to populate your database
Argument required : the workspace folder where the "data-model" folder will be detected the database name that must be declared in /data-model/CONTEXT/datasource-context.xml Optional argument : if you want to restrict the tables to populate Depending on the meta data that is going to be read, the main method will : load the project representation read the scripts/csv files in /data-model/BACKUP/ and populate the tables with this data the population of the tables uses generated stored procedures (insert by code, update by code) two kinds of file can be used to fetch data a $ separated file (.txt) a xml file representing a SourceAndScript where you mention a datasource and a script to read (xsd is given in /data-model/BACKUP/backup-1.0.xsd)
in a xml file, you can mention every datasource that is available in the InputDataSourceProvider inputSourceProvider that is declared in your data-model/CONTEXT/datasource-context.xml file |
ProjectInitializerLauncher |
This class can be launched to initialize a project
For that, arguments are required to populate a ProjectMetaData In your workspace folder, a data-model folder will be created with : your skeleton.xml file that contains your project meta-data a folder /data-model/BACKUP/ where to put your scripts to populate your database your project configuration depending on the skeleton that you want |
Copyright © 2015. All rights reserved.