Index
All Classes and Interfaces|All Packages
A
- AbstractMultiChoicesHelper - Class in org.sklsft.generator.bash.arguments
-
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 - AbstractMultiChoicesHelper() - Constructor for class org.sklsft.generator.bash.arguments.AbstractMultiChoicesHelper
- ArgumentsPrompter - Interface in org.sklsft.generator.bash.prompt
-
When using a sklgen command, you can be prompted some questions A prompter will collect your inputs
B
- BasicFreeChoicesHelper - Class in org.sklsft.generator.bash.arguments
-
An abstract implementation of
ChoicesHelper
based on a free entry with possible check and conversion - BasicFreeChoicesHelper(String) - Constructor for class org.sklsft.generator.bash.arguments.BasicFreeChoicesHelper
- byCommand(String) - Static method in enum class org.sklsft.generator.bash.launcher.Launchers
C
- choices - Variable in class org.sklsft.generator.bash.arguments.AbstractMultiChoicesHelper
- ChoicesHelper - Interface in org.sklsft.generator.bash.arguments
-
An interface that : Displays the choices we have regarding a question Returns the argument depending on the key we entered
- CODE_GENERATOR - Enum constant in enum class org.sklsft.generator.bash.launcher.Launchers
- CodeGeneratorLauncher - Class in org.sklsft.generator.bash.launcher
-
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 - CodeGeneratorLauncher() - Constructor for class org.sklsft.generator.bash.launcher.CodeGeneratorLauncher
- convertKey(String) - Method in class org.sklsft.generator.bash.arguments.BasicFreeChoicesHelper
-
can be overridden to convert input
D
- DATABASE_BUILDER - Enum constant in enum class org.sklsft.generator.bash.launcher.Launchers
- DatabaseBuilderLauncher - Class in org.sklsft.generator.bash.launcher
-
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 - DatabaseBuilderLauncher() - Constructor for class org.sklsft.generator.bash.launcher.DatabaseBuilderLauncher
- DatabaseEngineChoicesHelper - Class in org.sklsft.generator.bash.arguments
-
The choices of the database engine are available through a built map in the
DatabaseHandlerDiscovery
- DatabaseEngineChoicesHelper() - Constructor for class org.sklsft.generator.bash.arguments.DatabaseEngineChoicesHelper
G
- getChoice(String) - Method in class org.sklsft.generator.bash.arguments.AbstractMultiChoicesHelper
- getChoice(String) - Method in class org.sklsft.generator.bash.arguments.BasicFreeChoicesHelper
- getChoice(String) - Method in interface org.sklsft.generator.bash.arguments.ChoicesHelper
-
Every implementation should consider that invalid choices lead to null values that will be simply handled in a while condition
- getChoices() - Method in class org.sklsft.generator.bash.arguments.AbstractMultiChoicesHelper
- getChoicesDisplaying() - Method in class org.sklsft.generator.bash.arguments.AbstractMultiChoicesHelper
- getFullMessage() - Method in class org.sklsft.generator.bash.arguments.AbstractMultiChoicesHelper
- getFullMessage() - Method in class org.sklsft.generator.bash.arguments.BasicFreeChoicesHelper
- getFullMessage() - Method in interface org.sklsft.generator.bash.arguments.ChoicesHelper
- getLauncherClass() - Method in enum class org.sklsft.generator.bash.launcher.Launchers
- getPrompterClass() - Method in enum class org.sklsft.generator.bash.launcher.Launchers
- getQuestion() - Method in class org.sklsft.generator.bash.arguments.AbstractMultiChoicesHelper
- getQuestion() - Method in class org.sklsft.generator.bash.arguments.BasicFreeChoicesHelper
- getQuestion() - Method in class org.sklsft.generator.bash.arguments.DatabaseEngineChoicesHelper
- getQuestion() - Method in class org.sklsft.generator.bash.arguments.SkeletonChoicesHelper
- getQuestion() - Method in class org.sklsft.generator.bash.arguments.TrueFalseChoicesHelper
H
- HELP - Enum constant in enum class org.sklsft.generator.bash.launcher.Launchers
- HelpLauncher - Class in org.sklsft.generator.bash.launcher
-
Launches help command
reads a file where the text will be displayed - HelpLauncher() - Constructor for class org.sklsft.generator.bash.launcher.HelpLauncher
I
- initialize() - Method in class org.sklsft.generator.bash.arguments.AbstractMultiChoicesHelper
- initialize() - Method in class org.sklsft.generator.bash.arguments.DatabaseEngineChoicesHelper
- initialize() - Method in class org.sklsft.generator.bash.arguments.SkeletonChoicesHelper
- initialize() - Method in class org.sklsft.generator.bash.arguments.TrueFalseChoicesHelper
- isValid(String) - Method in class org.sklsft.generator.bash.arguments.BasicFreeChoicesHelper
-
can be overridden to validate input
L
- LauncherResolver - Class in org.sklsft.generator.bash.launcher
-
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 - LauncherResolver() - Constructor for class org.sklsft.generator.bash.launcher.LauncherResolver
- Launchers - Enum Class in org.sklsft.generator.bash.launcher
M
- main(String[]) - Static method in class org.sklsft.generator.bash.launcher.CodeGeneratorLauncher
-
main method to be executed
- main(String[]) - Static method in class org.sklsft.generator.bash.launcher.DatabaseBuilderLauncher
-
main method to be executed
- main(String[]) - Static method in class org.sklsft.generator.bash.launcher.HelpLauncher
- main(String[]) - Static method in class org.sklsft.generator.bash.launcher.MainLauncher
- main(String[]) - Static method in class org.sklsft.generator.bash.launcher.ProjectInitializerLauncher
-
main method to be executed
- MainLauncher - Class in org.sklsft.generator.bash.launcher
-
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 correspondingArgumentsPrompter
- MainLauncher() - Constructor for class org.sklsft.generator.bash.launcher.MainLauncher
O
- org.sklsft.generator.bash.arguments - package org.sklsft.generator.bash.arguments
- org.sklsft.generator.bash.launcher - package org.sklsft.generator.bash.launcher
- org.sklsft.generator.bash.prompt - package org.sklsft.generator.bash.prompt
P
- PopulatorPrompter - Class in org.sklsft.generator.bash.prompt
- PopulatorPrompter() - Constructor for class org.sklsft.generator.bash.prompt.PopulatorPrompter
- printPostExecutionWarnings(List<BackupPlanPostExecutionWarning>) - Method in class org.sklsft.generator.bash.prompt.PopulatorPrompter
- printPreExecutionWarnings(List<BackupPlanPreExecutionWarning>) - Method in class org.sklsft.generator.bash.prompt.PopulatorPrompter
- PROJECT_INITIALIZER - Enum constant in enum class org.sklsft.generator.bash.launcher.Launchers
- ProjectInitializerLauncher - Class in org.sklsft.generator.bash.launcher
-
This class can be launched to initialize a project
For that, arguments are required to populate aProjectMetaData
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 - ProjectInitializerLauncher() - Constructor for class org.sklsft.generator.bash.launcher.ProjectInitializerLauncher
- ProjectInitializerPrompter - Class in org.sklsft.generator.bash.prompt
-
This implementation of
ArgumentsPrompter
is used fo initialization command
It consists of getting your inputs through a list of questions - ProjectInitializerPrompter() - Constructor for class org.sklsft.generator.bash.prompt.ProjectInitializerPrompter
- promptForArguments() - Method in interface org.sklsft.generator.bash.prompt.ArgumentsPrompter
- promptForArguments() - Method in class org.sklsft.generator.bash.prompt.ProjectInitializerPrompter
- promptForConfirmation() - Method in class org.sklsft.generator.bash.prompt.PopulatorPrompter
- promptOnValidation(ProjectValidationReport) - Static method in class org.sklsft.generator.bash.prompt.ValidationPrompter
R
- resolveLauncher(String) - Static method in class org.sklsft.generator.bash.launcher.LauncherResolver
S
- SkeletonChoicesHelper - Class in org.sklsft.generator.bash.arguments
-
The choices of the skeleton are available through a built map in the
SkeletonResolver
- SkeletonChoicesHelper() - Constructor for class org.sklsft.generator.bash.arguments.SkeletonChoicesHelper
T
- TrueFalseChoicesHelper - Class in org.sklsft.generator.bash.arguments
-
Simple implementation of an
AbstractMultiChoicesHelper
where you have to choose between true and false - TrueFalseChoicesHelper(String) - Constructor for class org.sklsft.generator.bash.arguments.TrueFalseChoicesHelper
V
- ValidationPrompter - Class in org.sklsft.generator.bash.prompt
- ValidationPrompter() - Constructor for class org.sklsft.generator.bash.prompt.ValidationPrompter
- valueOf(String) - Static method in enum class org.sklsft.generator.bash.launcher.Launchers
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.sklsft.generator.bash.launcher.Launchers
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages