public class Configuration
extends java.lang.Object
jailer.json
.Modifier and Type | Class and Description |
---|---|
static class |
Configuration.UrlRewriteRule
URL rewrite rule.
|
Modifier and Type | Field and Description |
---|---|
LocalDatabaseConfiguration |
localEntityGraphConfiguration |
Constructor and Description |
---|
Configuration() |
Modifier and Type | Method and Description |
---|---|
java.io.File |
createTempFile()
Creates a temporary file
|
java.lang.String |
getAdditionalSQLKeywords() |
int |
getColumnsPerIFMTable() |
int |
getDatabaseConnectionInteractiveTimeout()
Gets time in seconds waiting for an idle database connection to be tested if it is still valid.
|
java.util.List<DBMS> |
getDBMS() |
boolean |
getDoMinimizeUPK()
Returns
true , the UPK don't preserve order. |
static Configuration |
getInstance()
Gets the configuration.
|
java.lang.String |
getNullColumnPlaceholder()
Gets replacement for null in DBUnit datasets.
|
HtmlDataModelRenderer |
getRenderer() |
static java.util.List<ScriptEnhancer> |
getScriptEnhancer()
Gets the scipt-enhancer.
|
java.lang.String |
getTempFileFolder()
Gets the temporary files folder.
|
java.util.List<Configuration.UrlRewriteRule> |
getUrlRewriteRules() |
boolean |
isGenerateUpsertStatementsWithoutNulls() |
boolean |
isTempFile(java.io.File file) |
void |
setAdditionalSQLKeywords(java.lang.String additionalSQLKeywords) |
void |
setColumnsPerIFMTable(int columnsPerIFMTable) |
void |
setDatabaseConnectionInteractiveTimeout(int databaseConnectionInteractiveTimeout)
Sets time in seconds waiting for an idle database connection to be tested if it is still valid.
|
void |
setdBMSConfigurations(java.util.List<DBMS> dBMSConfigurations) |
void |
setDoMinimizeUPK(boolean doMinimizeUPK) |
void |
setGenerateUpsertStatementsWithoutNulls(boolean generateUpsertStatementsWithoutNulls) |
void |
setNullColumnPlaceholder(java.lang.String nullColumnPlaceholder) |
void |
setRenderer(HtmlDataModelRenderer theRenderer) |
void |
setTempFileFolder(java.lang.String tempFileFolder)
Sets the temporary files folder.
|
void |
setUrlRewriteRules(java.util.List<Configuration.UrlRewriteRule> urlRewriteRules) |
public LocalDatabaseConfiguration localEntityGraphConfiguration
public java.lang.String getTempFileFolder()
#getWorkingFolder()
public void setTempFileFolder(java.lang.String tempFileFolder)
tempFileFolder
- absolute or relative to #getWorkingFolder()
public java.io.File createTempFile()
public boolean isTempFile(java.io.File file)
public java.lang.String getAdditionalSQLKeywords()
public void setAdditionalSQLKeywords(java.lang.String additionalSQLKeywords)
public java.lang.String getNullColumnPlaceholder()
public boolean getDoMinimizeUPK()
true
, the UPK don't preserve order. This minimizes the size of the UPK.public int getDatabaseConnectionInteractiveTimeout()
public void setDatabaseConnectionInteractiveTimeout(int databaseConnectionInteractiveTimeout)
public static Configuration getInstance()
public static java.util.List<ScriptEnhancer> getScriptEnhancer()
public int getColumnsPerIFMTable()
public HtmlDataModelRenderer getRenderer()
public void setRenderer(HtmlDataModelRenderer theRenderer)
theRenderer
- the theRenderer to setpublic java.util.List<Configuration.UrlRewriteRule> getUrlRewriteRules()
public void setUrlRewriteRules(java.util.List<Configuration.UrlRewriteRule> urlRewriteRules)
urlRewriteRules
- the URL rewrite rules.public java.util.List<DBMS> getDBMS()
public void setdBMSConfigurations(java.util.List<DBMS> dBMSConfigurations)
dBMSConfigurations
- the dBMSConfigurations to setpublic void setDoMinimizeUPK(boolean doMinimizeUPK)
doMinimizeUPK
- the doMinimizeUPK to setpublic void setNullColumnPlaceholder(java.lang.String nullColumnPlaceholder)
nullColumnPlaceholder
- the nullColumnPlaceholder to setpublic void setColumnsPerIFMTable(int columnsPerIFMTable)
columnsPerIFMTable
- the columnsPerIFMTable to setpublic boolean isGenerateUpsertStatementsWithoutNulls()
public void setGenerateUpsertStatementsWithoutNulls(boolean generateUpsertStatementsWithoutNulls)
generateUpsertStatementsWithoutNulls
- generate upsert statements without nulls?