There are some features to mention with the Strategy/State Generator:
Way of strategy integration
@Component
and @Autowired
Generation of test classes
Queryable result object
Executable class with main method:
ExecuteGenerator
provides a main method to call the Strategy/State Generator. It can be called in three ways:args[0]
(mandatory): File path of the properties file containing the data for the Global Properties.args[1..n]
(mandatory): File path of a properties file containing data for the Generation Propertiesargs[0]
: File path of the directory containing the properties filesGlobal.properties
containing the Global Properties is mandatory.args[0]
(mandatory): Resource classpath of the properties file containing the data for the Global Properties.args[1..n]
(mandatory): Resource classpath of a properties file containing data for the Generation PropertiesThe NullStrategy generation can be disabled as property disableNullStrategy
in class GeneratorIn
.
You can disable the generation of the business name as part of the class name by using property disableConditionNameInClassName
in class GeneratorIn
.
Copyright by Walter Lyrer
The author cannot be made responsible for any damage caused by the Strategy/State Generator.
The usage of the Strategy/State Generator is on own risk.
The code is designed and implemented on best know-how and with good intentions by the author.
Especially is to mention that the generated code of the Strategy/State Generator is not guaranteed to run instantly correct.
Manual supervision is necessary.
Walter Lyrer
Jacoge Java Generator Eclipse Plugin
Converter Generator
Visitor Generator
Named Parameter Converter