Class MybatisDynamicCodeGenerator.Configurer
- java.lang.Object
-
- pro.chenggang.project.reactive.mybatis.support.generator.core.MybatisDynamicCodeGenerator.Configurer
-
- Enclosing class:
- MybatisDynamicCodeGenerator
public static class MybatisDynamicCodeGenerator.Configurer extends Object
The Configurer.
-
-
Constructor Summary
Constructors Constructor Description Configurer(MybatisDynamicCodeGenerator mybatisDynamicCodeGenerator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MybatisDynamicCodeGenerator.ConfigurerapplyGenerateBasePackageFromClass(Class<?> specificClass)Configure base package from specific classMybatisDynamicCodeGenerator.ConfigurerconfigureGenerateBasePackage(String baseLocation, String basePackage)Configure generate base packageMybatisDynamicCodeGenerator.ConfigurerconfigureGeneratedJavaTypeModifier(Class<? extends GeneratedJavaTypeModifier> generatedJavaTypeModifierClass)Configure generated java type modifierGeneratorPropertiesBuildercustomizeGeneratorProperties()Configure properties.MybatisDynamicCodeGenerator.ConfigurerregisterContextGenerator(ContextGenerator contextGenerator)Configure context generator.MybatisDynamicCodeGeneratortoGenerator()Return mybatis dynamic code generator.
-
-
-
Constructor Detail
-
Configurer
public Configurer(MybatisDynamicCodeGenerator mybatisDynamicCodeGenerator)
-
-
Method Detail
-
customizeGeneratorProperties
public GeneratorPropertiesBuilder 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
public MybatisDynamicCodeGenerator toGenerator()
Return mybatis dynamic code generator.- Returns:
- the mybatis dynamic code generator
-
-