Class MybatisDynamicCodeGenerator.Configurer
java.lang.Object
pro.chenggang.project.reactive.mybatis.support.generator.core.MybatisDynamicCodeGenerator.Configurer
- Enclosing class:
- MybatisDynamicCodeGenerator
The Configurer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyGenerateBasePackageFromClass(Class<?> specificClass) Configure base package from specific classconfigureGenerateBasePackage(String baseLocation, String basePackage) Configure generate base packageconfigureGeneratedJavaTypeModifier(Class<? extends GeneratedJavaTypeModifier> generatedJavaTypeModifierClass) Configure generated java type modifierConfigure properties.registerContextGenerator(ContextGenerator contextGenerator) Configure context generator.Return mybatis dynamic code generator.
-
Constructor Details
-
Configurer
-
-
Method Details
-
customizeGeneratorProperties
Configure properties.- Returns:
- the configurer
-
configureGenerateBasePackage
public MybatisDynamicCodeGenerator.Configurer configureGenerateBasePackage(String baseLocation, String basePackage) Configure generate base package- Parameters:
baseLocation- the base locationbasePackage- the base package- Returns:
- the configurer
-
configureGeneratedJavaTypeModifier
public MybatisDynamicCodeGenerator.Configurer configureGeneratedJavaTypeModifier(Class<? extends GeneratedJavaTypeModifier> generatedJavaTypeModifierClass) Configure generated java type modifier- Parameters:
generatedJavaTypeModifierClass- the type extend GeneratedJavaTypeModifier class- Returns:
- the configurer
-
applyGenerateBasePackageFromClass
public MybatisDynamicCodeGenerator.Configurer applyGenerateBasePackageFromClass(Class<?> specificClass) Configure base package from specific class- Parameters:
specificClass- the specific class- Returns:
- the configurer
-
registerContextGenerator
public MybatisDynamicCodeGenerator.Configurer registerContextGenerator(ContextGenerator contextGenerator) Configure context generator.- Parameters:
contextGenerator- the context generator- Returns:
- the configurer
-
toGenerator
Return mybatis dynamic code generator.- Returns:
- the mybatis dynamic code generator
-