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

A

addJarsToClassLoader(String) - Method in class com.devonfw.cobigen.cli.utils.CobiGenUtils
Adds a jar file into the current class loader
areArgumentsValid() - Method in class com.devonfw.cobigen.cli.commands.GenerateCommand
Validates the user arguments in the context of the generate command.
areInputFilesSameType(ArrayList<File>) - Static method in class com.devonfw.cobigen.cli.utils.ValidationUtils
Checks whether all the user input files are of the same type

C

call() - Method in class com.devonfw.cobigen.cli.commands.GenerateCommand
 
call() - Method in class com.devonfw.cobigen.cli.commands.UpdateCommand
 
checkGenerationReport(GenerationReportTo) - Static method in class com.devonfw.cobigen.cli.utils.ValidationUtils
Checks the generation report in order to find possible errors and warnings
CLASSPATH_OUTPUT_FILE - Static variable in class com.devonfw.cobigen.cli.constants.MavenConstants
Name of the text file which will contain all the needed URLs (classPath.txt)
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
 
COBIGEN_GROUPID - Static variable in class com.devonfw.cobigen.cli.constants.MavenConstants
GroupId of CobiGen on Maven Central
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.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

D

DEPENDENCY_BUILD_CLASSPATH - Static variable in class com.devonfw.cobigen.cli.constants.MavenConstants
Maven command needed for building CobiGen plug-ins dependencies

E

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

F

findPom(File) - Static method in class com.devonfw.cobigen.cli.utils.ValidationUtils
Tries to find a pom.xml file in the passed folder
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(File, File, List<? extends GenerableArtifact>, CobiGen, List<Class<?>>, Class<?>) - 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
getCLI() - Static method in class com.devonfw.cobigen.cli.CobiGenCLI
 
getJavaContext(File, File) - Static method in class com.devonfw.cobigen.cli.utils.ParsingUtils
Tries to get the Java context by creating a new class loader of the input project that is able to load the input file.
getProjectRoot(File) - Static method in class com.devonfw.cobigen.cli.utils.ParsingUtils
Tries to find the root folder of the project in order to build the classpath.
getQualifiedName(File, JavaContext) - Static method in class com.devonfw.cobigen.cli.utils.ParsingUtils
Gets the full qualified name of the input file
getTemplates() - Method in class com.devonfw.cobigen.cli.utils.CobiGenUtils
 
getTemplatesJar(boolean) - Method in class com.devonfw.cobigen.cli.utils.CobiGenUtils
Tries to find the templates jar.
getUserInput() - Static method in class com.devonfw.cobigen.cli.commands.GenerateCommand
Asks the user for input and returns the value
getUtilClasses() - Method in class com.devonfw.cobigen.cli.utils.CobiGenUtils
getter for templates utils classes
getValidCobiGenInput(CobiGen, File, Boolean) - Static method in class com.devonfw.cobigen.cli.utils.CobiGenUtils
Processes the given input file to be converted into a valid CobiGen input.
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() - 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(File) - 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() - 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.
MavenConstants - Class in com.devonfw.cobigen.cli.constants
Maven related constants
MavenConstants() - Constructor for class com.devonfw.cobigen.cli.constants.MavenConstants
 
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(ArrayList<File>, File, 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
 
POM - Static variable in class com.devonfw.cobigen.cli.constants.MavenConstants
pom.xml
printNoTriggersMatched(File, 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.
printOutdatedPlugin(List<Dependency>, List<String>, HashMap<String, String>, HashMap<Integer, String>) - Method in class com.devonfw.cobigen.cli.commands.UpdateCommand
This method printing the outdated plug-ins
process(InputInterpreter, File, 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() - 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

TEMPLATES_OPTION_DESCRIPTION - Static variable in class com.devonfw.cobigen.cli.constants.MessagesConstants
Message constant: description of the templates option

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 handle 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 updating the outdated plug-ins

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
A C D E F G I L M O P R S T U V W 
All Classes All Packages