Skip navigation links
A B C D G H I L M O P R S T V 

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.
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 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
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

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/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
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 in an enumeration
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 org.sklsft.generator.bash.launcher.Launchers
 
getPrompterClass() - Method in enum 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.SkeletonTypeChoicesHelper
 
getQuestion() - Method in class org.sklsft.generator.bash.arguments.TrueFalseChoicesHelper
 

H

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.SkeletonTypeChoicesHelper
 
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 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 corresponding ArgumentsPrompter
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
 
ProjectInitializerLauncher - Class in org.sklsft.generator.bash.launcher
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
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
 

R

resolveLauncher(String) - Static method in class org.sklsft.generator.bash.launcher.LauncherResolver
 

S

SkeletonTypeChoicesHelper - Class in org.sklsft.generator.bash.arguments
The choices of the skeleton types are available in an enumeration
SkeletonTypeChoicesHelper() - Constructor for class org.sklsft.generator.bash.arguments.SkeletonTypeChoicesHelper
 

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

valueOf(String) - Static method in enum org.sklsft.generator.bash.launcher.Launchers
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.sklsft.generator.bash.launcher.Launchers
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D G H I L M O P R S T V 
Skip navigation links

Copyright © 2017. All rights reserved.