A C D E F G I L M O P R S T U V W Y 
All Classes All Packages

A

ADAPT_TEMPLATES_DESCRIPTION - Static variable in class com.devonfw.cobigen.cli.constants.MessagesConstants
Message constant: description of the adapt-templates command
AdaptTemplatesCommand - Class in com.devonfw.cobigen.cli.commands
This class handles the user defined template directory e.g.
AdaptTemplatesCommand() - Constructor for class com.devonfw.cobigen.cli.commands.AdaptTemplatesCommand
 
areArgumentsValid() - Method in class com.devonfw.cobigen.cli.commands.GenerateCommand
Validates the user arguments in the context of the generate command.

C

call() - Method in class com.devonfw.cobigen.cli.commands.CommandCommons
 
checkGenerationReport(GenerationReportTo) - Static method in class com.devonfw.cobigen.cli.utils.ValidationUtils
Checks the generation report in order to find possible errors and warnings
CLI_HOME - Static variable in class com.devonfw.cobigen.cli.utils.CobiGenUtils
CLI home folder for pom.xml configuration
CLILogger - Class in com.devonfw.cobigen.cli.logger
This class declare layout logger and logger level
CLILogger() - Constructor for class com.devonfw.cobigen.cli.logger.CLILogger
 
CobiGenCLI - Class in com.devonfw.cobigen.cli
Starting point of the CobiGen CLI.
CobiGenCLI() - Constructor for class com.devonfw.cobigen.cli.CobiGenCLI
 
CobiGenCommand - Class in com.devonfw.cobigen.cli.commands
This class defines the main CobiGen command
CobiGenCommand() - Constructor for class com.devonfw.cobigen.cli.commands.CobiGenCommand
 
CobiGenUtils - Class in com.devonfw.cobigen.cli.utils
Utilities class for CobiGen related operations.
CobiGenUtils() - Constructor for class com.devonfw.cobigen.cli.utils.CobiGenUtils
 
CobiGenVersionProvider - Class in com.devonfw.cobigen.cli.utils
This class implement getVersion() and this method returns the version of plug-ins
CobiGenVersionProvider() - Constructor for class com.devonfw.cobigen.cli.utils.CobiGenVersionProvider
 
com.devonfw.cobigen.cli - package com.devonfw.cobigen.cli
 
com.devonfw.cobigen.cli.commands - package com.devonfw.cobigen.cli.commands
 
com.devonfw.cobigen.cli.constants - package com.devonfw.cobigen.cli.constants
 
com.devonfw.cobigen.cli.exceptions - package com.devonfw.cobigen.cli.exceptions
 
com.devonfw.cobigen.cli.logger - package com.devonfw.cobigen.cli.logger
 
com.devonfw.cobigen.cli.utils - package com.devonfw.cobigen.cli.utils
 
COMMAND_NOT_UNDERSTOOD - Static variable in class com.devonfw.cobigen.cli.constants.MessagesConstants
Message constant: when a command has not been understood
COMMAND_NOT_YET_SUPPORTED - Static variable in class com.devonfw.cobigen.cli.constants.MessagesConstants
Message constant: when a command is not yet supported
CommandCommons - Class in com.devonfw.cobigen.cli.commands
 
CommandCommons() - Constructor for class com.devonfw.cobigen.cli.commands.CommandCommons
 
CUSTOM_LOCATION_OPTION_DESCRIPTION - Static variable in class com.devonfw.cobigen.cli.constants.MessagesConstants
Message constant: description of the custom-location option

D

doAction() - Method in class com.devonfw.cobigen.cli.commands.AdaptTemplatesCommand
 
doAction() - Method in class com.devonfw.cobigen.cli.commands.CommandCommons
 
doAction() - Method in class com.devonfw.cobigen.cli.commands.GenerateCommand
 
doAction() - Method in class com.devonfw.cobigen.cli.commands.UpdateCommand
 

E

extractArtificialPom() - Static method in class com.devonfw.cobigen.cli.utils.CobiGenUtils
Extracts an artificial POM which defines all the CobiGen plug-ins that are needed

F

formatJavaSources(Set<Path>) - Static method in class com.devonfw.cobigen.cli.utils.ParsingUtils
This method format the runtime generated code with the help of google API

G

generate(Path, Object, Path, List<T>, CobiGen, Class<T>) - Method in class com.devonfw.cobigen.cli.commands.GenerateCommand
Generates new templates or increments using the inputFile from the inputProject.
GENERATE_DESCRIPTION - Static variable in class com.devonfw.cobigen.cli.constants.MessagesConstants
Message constant: description of the generate command
GenerateCommand - Class in com.devonfw.cobigen.cli.commands
This class handles the generation command
GenerateCommand() - Constructor for class com.devonfw.cobigen.cli.commands.GenerateCommand
Constructor needed for Picocli
getCliHomePath() - Static method in class com.devonfw.cobigen.cli.utils.CobiGenUtils
 
getUserInput() - Static method in class com.devonfw.cobigen.cli.utils.ValidationUtils
Asks the user for input and returns the value
getVersion() - Method in class com.devonfw.cobigen.cli.utils.CobiGenVersionProvider
 

I

INCREMENTS_OPTION_DESCRIPTION - Static variable in class com.devonfw.cobigen.cli.constants.MessagesConstants
Message constant: description of the increments option
initializeCobiGen(Path) - Static method in class com.devonfw.cobigen.cli.utils.CobiGenUtils
Registers CobiGen plug-ins and instantiates CobiGen
INPUT_FILE_DESCRIPTION - Static variable in class com.devonfw.cobigen.cli.constants.MessagesConstants
Message constant: description of the input files that can be used
isOutputRootPathValid(Path) - Static method in class com.devonfw.cobigen.cli.utils.ValidationUtils
Checks whether the current output root path is valid.

L

latestPluginVersion(String) - Static method in class com.devonfw.cobigen.cli.utils.PluginUpdateUtil
Checks which is the last version of a plug-in.
layoutLogger(boolean) - Static method in class com.devonfw.cobigen.cli.logger.CLILogger
This method is setting the custom layout of logger

M

main(String...) - Static method in class com.devonfw.cobigen.cli.CobiGenCLI
Main starting point of the CLI.
MessagesConstants - Class in com.devonfw.cobigen.cli.constants
Messages constants printed to the user
MessagesConstants() - Constructor for class com.devonfw.cobigen.cli.constants.MessagesConstants
 

O

OUTPUT_ROOT_PATH_DESCRIPTION - Static variable in class com.devonfw.cobigen.cli.constants.MessagesConstants
Message constant: description of the output root path option

P

parseRelativePath(List<Path>, Path, int) - Static method in class com.devonfw.cobigen.cli.utils.ParsingUtils
Tries to parse a relative path with the current working directory
ParsingUtils - Class in com.devonfw.cobigen.cli.utils
This class contains utilities for parsing user input.
ParsingUtils() - Constructor for class com.devonfw.cobigen.cli.utils.ParsingUtils
 
PluginUpdateUtil - Class in com.devonfw.cobigen.cli.utils
This class facilitates to check plug-in is outdated or not as per central plug-in and provide latest plug-in version .
PluginUpdateUtil() - Constructor for class com.devonfw.cobigen.cli.utils.PluginUpdateUtil
 
preprocessInputFile(Path) - Static method in class com.devonfw.cobigen.cli.commands.GenerateCommand
Processes the input file's path.
printOutdatedPlugin(List<Dependency>, List<String>, HashMap<String, String>, HashMap<Integer, String>) - Method in class com.devonfw.cobigen.cli.commands.UpdateCommand
This method is printing the outdated plug-ins
process(InputInterpreter, Path, ClassLoader) - Static method in class com.devonfw.cobigen.cli.utils.CobiGenUtils
Processes the given file to be converted into any CobiGen valid input format
ProgressBar - Class in com.devonfw.cobigen.cli.utils
This class is implementing process bar for when user first time running the CobiGen CLI because first time downloading the dependency it is taking time .
ProgressBar() - Constructor for class com.devonfw.cobigen.cli.utils.ProgressBar
 

R

registerPlugins() - Static method in class com.devonfw.cobigen.cli.utils.CobiGenUtils
Registers the given different CobiGen plug-ins by building an artificial POM extracted next to the CLI location and then adding the needed URLs to the class loader.
retainAllIncrements(List<IncrementTo>, List<IncrementTo>) - Static method in class com.devonfw.cobigen.cli.utils.CobiGenUtils
For Increments Returns a list that retains only the elements in this list that are contained in the specified collection (optional operation).
retainAllTemplates(List<TemplateTo>, List<TemplateTo>) - Static method in class com.devonfw.cobigen.cli.utils.CobiGenUtils
For Templates Returns a list that retains only the elements in this list that are contained in the specified collection (optional operation).
run() - Method in class com.devonfw.cobigen.cli.commands.CobiGenCommand
 
run() - Method in class com.devonfw.cobigen.cli.utils.ProgressBar
 

S

setLevel(Level) - Static method in class com.devonfw.cobigen.cli.logger.CLILogger
This method declare level of logger

T

TEMPLATE_PATH_DESCRIPTION - Static variable in class com.devonfw.cobigen.cli.constants.MessagesConstants
Message constant: description of the templates path configuration
TEMPLATES_OPTION_DESCRIPTION - Static variable in class com.devonfw.cobigen.cli.constants.MessagesConstants
Message constant: description of the templates option
throwNoTriggersMatched(Path, boolean, boolean) - Static method in class com.devonfw.cobigen.cli.utils.ValidationUtils
Prints an error message to the user informing that no triggers have been matched.

U

UPDATE_ALL_DESCRIPTION - Static variable in class com.devonfw.cobigen.cli.constants.MessagesConstants
Message constant: description of update all option
UPDATE_OPTION_DESCRIPTION - Static variable in class com.devonfw.cobigen.cli.constants.MessagesConstants
Message constant: description of the plug-in update
UpdateCommand - Class in com.devonfw.cobigen.cli.commands
This class handles the update command
UpdateCommand() - Constructor for class com.devonfw.cobigen.cli.commands.UpdateCommand
 
updateOutdatedPlugins(List<Dependency>, HashMap<Integer, String>, List<String>, Model, ArrayList<String>) - Method in class com.devonfw.cobigen.cli.commands.UpdateCommand
This method is updating the outdated plug-ins
UserAbortException - Exception in com.devonfw.cobigen.cli.exceptions
Exception is thrown if the generation process was cancelled by the user
UserAbortException() - Constructor for exception com.devonfw.cobigen.cli.exceptions.UserAbortException
 

V

validateFile(File) - Method in class com.devonfw.cobigen.cli.utils.ValidationUtils
Validating user input file is correct or not.
ValidationUtils - Class in com.devonfw.cobigen.cli.utils
Utilities class for validating user's input and generation
ValidationUtils() - Constructor for class com.devonfw.cobigen.cli.utils.ValidationUtils
 
VERBOSE_OPTION_DESCRIPTION - Static variable in class com.devonfw.cobigen.cli.constants.MessagesConstants
Message constant: description of the verbose option

W

WELCOME_MESSAGE - Static variable in class com.devonfw.cobigen.cli.constants.MessagesConstants
Message constant: welcome message when user executes CobiGen help

Y

yesNoPrompt(String, String, String) - Static method in class com.devonfw.cobigen.cli.utils.ValidationUtils
Creates a simple looping yes/no prompt with customizable valid/invalid/cancel messages
A C D E F G I L M O P R S T U V W Y 
All Classes All Packages