|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.teiid.test.framework.ConfigPropertyLoader
public class ConfigPropertyLoader
The ConfigProperteryLoader will load the configuration properties to be used by a test.
Unless a different configuraton file is specified, subsequent loading of the configuration
fill will not occur. However, overrides
that are applied per test
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_CONFIG_FILE_NAME
The default config file to use when #CONFIG_FILE system property isn't set |
Method Summary | |
---|---|
static ConfigPropertyLoader |
getInstance()
|
java.util.Map<java.lang.String,java.lang.String> |
getModelAssignedDatabaseTypes()
|
java.util.Properties |
getProperties()
|
java.lang.String |
getProperty(java.lang.String key)
|
boolean |
isDataStoreDisabled()
In certain testcases, the data that being provided is already preconfigured and should not be touched by the DataStore
processing. |
static void |
main(java.lang.String[] args)
|
static void |
reset()
Called after each test to reset any per test settings. |
void |
setModelAssignedToDatabaseType(java.lang.String modelname,
java.lang.String dbtype)
|
void |
setProperties(java.util.Properties props)
|
void |
setProperty(java.lang.String key,
java.lang.String value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_CONFIG_FILE_NAME
Method Detail |
---|
public static ConfigPropertyLoader getInstance()
public static void reset()
public java.lang.String getProperty(java.lang.String key)
public void setProperty(java.lang.String key, java.lang.String value)
public void setProperties(java.util.Properties props)
public java.util.Properties getProperties()
public boolean isDataStoreDisabled()
DataStore
processing.
public java.util.Map<java.lang.String,java.lang.String> getModelAssignedDatabaseTypes()
public void setModelAssignedToDatabaseType(java.lang.String modelname, java.lang.String dbtype)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |