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.ConfigurerconfigureDefaultJavaTypeModifier(Class<? extends GeneratedJavaTypeModifier> javaTypeModifierClass)Configure default java type modifierMybatisDynamicCodeGenerator.ConfigurerconfigureGenerateBasePackage(String baseLocation, String basePackage)Configure generate base packageGeneratorPropertiesBuildercustomizeGeneratorProperties()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
-
configureDefaultJavaTypeModifier
public MybatisDynamicCodeGenerator.Configurer configureDefaultJavaTypeModifier(Class<? extends GeneratedJavaTypeModifier> javaTypeModifierClass)
Configure default java type modifier- Parameters:
javaTypeModifierClass- the type extend DefaultJavaTypeModifier 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
-
-