org.test4j.module.core.utility
类 ConfigurationLoader

java.lang.Object
  继承者 org.test4j.module.core.utility.ConfigurationLoader

public class ConfigurationLoader
extends Object

test4j配置文件加载器
默认先加载test4j-default.properties文件中的配置项
根据 PROPKEY_CUSTOM_CONFIGURATION 加载用户级的配置文件
根据 PROPKEY_LOCAL_CONFIGURATION 加载项目级的配置文件


字段摘要
static String DEFAULT_PROPERTIES_FILE_NAME
          Name of the fixed configuration file that contains all defaults
static String PROPKEY_CUSTOM_CONFIGURATION
          Property in the defaults configuration file that contains the name of the custom configuration file
static String PROPKEY_LOCAL_CONFIGURATION
          Property in the defaults and/or custom configuration file that contains the name of the user local configuration file
 
方法摘要
static Properties loading()
          loading the test4j configuration.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

DEFAULT_PROPERTIES_FILE_NAME

public static final String DEFAULT_PROPERTIES_FILE_NAME
Name of the fixed configuration file that contains all defaults

另请参见:
常量字段值

PROPKEY_CUSTOM_CONFIGURATION

public static final String PROPKEY_CUSTOM_CONFIGURATION
Property in the defaults configuration file that contains the name of the custom configuration file

另请参见:
常量字段值

PROPKEY_LOCAL_CONFIGURATION

public static final String PROPKEY_LOCAL_CONFIGURATION
Property in the defaults and/or custom configuration file that contains the name of the user local configuration file

另请参见:
常量字段值
方法详细信息

loading

public static Properties loading()
loading the test4j configuration.
Include test4j-default.properties, test4j.properties, test4j-local.properties

返回:
the settings, not null


Copyright © 2013. All rights reserved.