cn.amossun.starter.common.constant.Constant Maven / Gradle / Ivy
package cn.amossun.starter.common.constant;
/**
* @description:
* @author: Amos.Sun
* @DateTime: 2020/03/01 11:10
**/
public class Constant {
public static final String AMOS_SUN_DATA_SECURITY = Constant.AMOS_SUN + Constant.POINT
+ DataSecurityConstant.DATA_SECURITY;
public static final String AMOS_SUN_EVENT_RABBITMQ = Constant.AMOS_SUN + Constant.POINT
+ EventConstant.EVENT + Constant.POINT + EventConstant.RABBITMQ;
public static final String AMOS_SUN_REDIS = Constant.AMOS_SUN + Constant.POINT
+ RedisCacheConstant.REDIS;
public static final String AMOS_SUN_MULTI_REDIS = Constant.AMOS_SUN + Constant.POINT
+ RedisCacheConstant.MULTI_REDIS;
public static final String AMOS_SUN = "amossun";
public static final String POINT = ".";
public static final String COLON = ":";
class DataSecurityConstant {
protected static final String DATA_SECURITY = "data-security";
}
class EventConstant {
protected static final String EVENT = "event";
protected static final String RABBITMQ = "rabbitmq";
}
class RedisCacheConstant {
protected static final String REDIS = "redis";
protected static final String MULTI_REDIS = "multi-redis";
}
}