![JAR search and dependency download from the Maven repository](/logo.png)
com.ktanx.autocoder.config.Constants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ktanx-autocoder Show documentation
Show all versions of ktanx-autocoder Show documentation
ktanx-autocoder is a java code generate kit.
The newest version!
package com.ktanx.autocoder.config;
/**
* velocity context 变量名称
* User: liyd
* Date: 13-12-6
* Time: 下午4:37
*/
public class Constants {
/********* jdbc 配置常量 ******************/
/**
* 数据库类型
*/
public static final String DIALECT = "dialect";
/**
* 驱动类
*/
public static final String DRIVER_CLASS_NAME = "driverClassName";
/**
* 连接url
*/
public static final String URL = "url";
/**
* 用户名
*/
public static final String USERNAME = "username";
/**
* 密码
*/
public static final String PASSWORD = "password";
/******** 固定常量 *********/
/**
* 文件已存在时是否覆盖
*/
public static final String OVERWRITE = "overwrite";
/**
* 是否运行在子模块 为true则生成代码的文件夹会到上一层(父模块)为基准 默认false
*/
public static final String RUN_ON_CHILD_MODULE = "runOnChildModule";
/**
* 生成目标文件夹 不指定默认为运行目录
*/
public static final String TARGET_DIR = "targetDir";
/********* 任务配置属性 *************/
/**
* 模板
*/
public static final String TEMPLATE = "template";
/**
* 开始移除字符
*/
public static final String BEGIN_REMOVE = "beginRemove";
/**
* 结束移除字符
*/
public static final String END_REMOVE = "endRemove";
/**
* 前缀
*/
public static final String BEGIN_FIX = "beginFix";
/**
* 后缀
*/
public static final String END_FIX = "endFix";
/**
* 扩展名
*/
public static final String SUFFIX = "suffix";
/**
* 包名
*/
public static final String PACKAGE = "package";
/**
* 源码文件夹
*/
public static final String SRC_DIR = "srcDir";
/**
* 分隔符
*/
public static final String DELIMITER = "delimiter";
/**
* 大写
*/
public static final String UPPER = "upper";
/**
* 小写
*/
public static final String LOWER = "lower";
/**
* 模块名 runOnChildModule=true时有用
*/
public static final String MODULE_NAME = "moduleName";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy