Class | Description |
---|---|
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 |
HelpLauncher |
Launches help command
reads a file where the text will be displayed |
LauncherResolver |
This class aims at resolving what launcher to be used depending on the command passed
The resolution is based on an enumeration of available commands |
MainLauncher |
This is the entry point of sklgen cli
It uses a command resolver that will find a command launcher and get the missing inputs through the corresponding ArgumentsPrompter |
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/CONTEXT/ with a template of your datasource-context.xml file for init and population your project configuration depending on the skeleton that you want |
Enum | Description |
---|---|
Launchers |
Copyright © 2017. All rights reserved.