Esempio n. 1
0
 public static String getPropertiesVersionName() {
   String version = "1.0"; // 默认为3
   Parameter.InitSystemParameter(SystemConfig.SYSTEM_PROPERTIES_FILE_NAME);
   String tempStr = Parameter.getValue(SYSTEM_PROPERTIES_VERSION_NAME);
   if (tempStr != null && !"".equals(tempStr)) version = tempStr;
   return version;
 }
Esempio n. 2
0
 public static String getPropertiesDebugLevel() {
   String debugLevel = "2"; // 默认为3
   Parameter.InitSystemParameter(SystemConfig.SYSTEM_PROPERTIES_FILE_NAME);
   String tempStr = Parameter.getValue(SYSTEM_PROPERTIES_DEBUG_LEVEL);
   if (tempStr != null && !"".equals(tempStr)) debugLevel = tempStr;
   return debugLevel;
 }
Esempio n. 3
0
 public static String getPropertiesDeploytypeName() {
   String deploytypeName = "3"; // 默认为3
   Parameter.InitSystemParameter(SystemConfig.SYSTEM_PROPERTIES_FILE_NAME);
   String tempStr = Parameter.getValue(SYSTEM_PROPERTIES_DEPLOYTYPE_NAME);
   if (tempStr != null && !"".equals(tempStr)) deploytypeName = tempStr;
   return deploytypeName;
 }