类 StrategyConfig


  • public class StrategyConfig
    extends java.lang.Object
    策略配置项
    从以下版本开始:
    2016/8/30
    作者:
    YangHu, tangguo, hubin
    • 方法详细资料

      • entityBuilder

        @NotNull
        public Entity.Builder entityBuilder()
        实体配置构建者
        返回:
        实体配置构建者
        从以下版本开始:
        3.5.0
      • entity

        @NotNull
        public @NotNull Entity entity()
        实体配置
        返回:
        实体配置
        从以下版本开始:
        3.5.0
      • controllerBuilder

        @NotNull
        public Controller.Builder controllerBuilder()
        控制器配置构建者
        返回:
        控制器配置构建者
        从以下版本开始:
        3.5.0
      • controller

        @NotNull
        public @NotNull Controller controller()
        控制器配置
        返回:
        控制器配置
        从以下版本开始:
        3.5.0
      • mapperBuilder

        @NotNull
        public Mapper.Builder mapperBuilder()
        Mapper配置构建者
        返回:
        Mapper配置构建者
        从以下版本开始:
        3.5.0
      • mapper

        @NotNull
        public @NotNull Mapper mapper()
        Mapper配置
        返回:
        Mapper配置
        从以下版本开始:
        3.5.0
      • serviceBuilder

        @NotNull
        public Service.Builder serviceBuilder()
        Service配置构建者
        返回:
        Service配置构建者
        从以下版本开始:
        3.5.0
      • service

        @NotNull
        public @NotNull Service service()
        Service配置
        返回:
        Service配置
        从以下版本开始:
        3.5.0
      • isCapitalModeNaming

        public boolean isCapitalModeNaming​(@NotNull
                                           @NotNull java.lang.String word)
        大写命名、字段符合大写字母数字下划线命名
        参数:
        word - 待判断字符串
      • startsWithTablePrefix

        public boolean startsWithTablePrefix​(@NotNull
                                             @NotNull java.lang.String tableName)
        表名称匹配过滤表前缀
        参数:
        tableName - 表名称
        从以下版本开始:
        3.3.2
      • validate

        public void validate()
        验证配置项
        从以下版本开始:
        3.5.0
      • matchIncludeTable

        public boolean matchIncludeTable​(@NotNull
                                         @NotNull java.lang.String tableName)
        包含表名匹配
        参数:
        tableName - 表名
        返回:
        是否匹配
        从以下版本开始:
        3.5.0
      • matchExcludeTable

        public boolean matchExcludeTable​(@NotNull
                                         @NotNull java.lang.String tableName)
        排除表名匹配
        参数:
        tableName - 表名
        返回:
        是否匹配
        从以下版本开始:
        3.5.0
      • isCapitalMode

        public boolean isCapitalMode()
      • isSkipView

        public boolean isSkipView()
      • getTablePrefix

        @NotNull
        public @NotNull java.util.Set<java.lang.String> getTablePrefix()
      • getTableSuffix

        @NotNull
        public @NotNull java.util.Set<java.lang.String> getTableSuffix()
      • getFieldPrefix

        @NotNull
        public @NotNull java.util.Set<java.lang.String> getFieldPrefix()
      • getFieldSuffix

        @NotNull
        public @NotNull java.util.Set<java.lang.String> getFieldSuffix()
      • getInclude

        @NotNull
        public @NotNull java.util.Set<java.lang.String> getInclude()
      • getExclude

        @NotNull
        public @NotNull java.util.Set<java.lang.String> getExclude()
      • isEnableSqlFilter

        public boolean isEnableSqlFilter()
      • isEnableSchema

        public boolean isEnableSchema()
      • getLikeTable

        @Nullable
        public @Nullable LikeTable getLikeTable()
      • getNotLikeTable

        @Nullable
        public @Nullable LikeTable getNotLikeTable()