All Classes and Interfaces

Class
Description
An abstract implementation of ChoicesHelper based on a map of choices
We have to override initialization to fetch the possible values
Be careful that the access to choices is not thread-safe.
We do not consider multi-threading
When using a sklgen command, you can be prompted some questions A prompter will collect your inputs
An abstract implementation of ChoicesHelper based on a free entry with possible check and conversion
An interface that : Displays the choices we have regarding a question Returns the argument depending on the key we entered
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
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/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
The choices of the database engine are available through a built map in the DatabaseHandlerDiscovery
Launches help command
reads a file where the text will be displayed
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
 
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
 
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/ with a template of your datasource-context.xml file for init and population your project configuration depending on the skeleton that you want
This implementation of ArgumentsPrompter is used fo initialization command
It consists of getting your inputs through a list of questions
The choices of the skeleton are available through a built map in the SkeletonResolver
Simple implementation of an AbstractMultiChoicesHelper where you have to choose between true and false