Interface ContextGenerator
- All Known Implementing Classes:
AbstractCommonContextGenerator,MybatisDynamicContextGenerator,MybatisDynamicMapperContextGenerator,MyBatisSimpleContextGenerator,MyBatisSimpleModelContextGenerator,MyBatisSimpleModelXmlContextGenerator
public interface ContextGenerator
The Context generator.
- Since:
- 1.0.0
- Version:
- 2.0.0
- Author:
- Gang Cheng
-
Method Summary
Modifier and TypeMethodDescriptionorg.mybatis.generator.config.ContextgenerateContext(GeneratorProperties generatorProperties) Generate generator contextgenerator type
-
Method Details
-
targetGeneratorType
GeneratorType targetGeneratorType()generator type- Returns:
- generator type
-
generateContext
Generate generator context- Parameters:
generatorProperties- the generator properties- Returns:
- context
-