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 Details

  • Method Details

    • 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 location
      basePackage - 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