|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ddlutils.task.PlatformConfiguration
Encloses the platform configuration for the Ant tasks.
Constructor Summary | |
PlatformConfiguration()
|
Method Summary | |
String |
getDatabaseType()
Returns the database type. |
org.apache.commons.dbcp.BasicDataSource |
getDataSource()
Returns the data source to use for accessing the database. |
Platform |
getPlatform()
Creates the platform for the configured database. |
boolean |
isUseDelimitedSqlIdentifiers()
Determines whether delimited SQL identifiers shall be used (the default). |
void |
setDatabaseType(String type)
Sets the database type. |
void |
setDataSource(org.apache.commons.dbcp.BasicDataSource dataSource)
Sets the data source to use for accessing the database. |
void |
setUseDelimitedSqlIdentifiers(boolean useDelimitedSqlIdentifiers)
Specifies whether delimited SQL identifiers shall be used. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PlatformConfiguration()
Method Detail |
public String getDatabaseType()
public void setDatabaseType(String type)
type
- The database typepublic org.apache.commons.dbcp.BasicDataSource getDataSource()
public void setDataSource(org.apache.commons.dbcp.BasicDataSource dataSource)
dataSource
- The data source pointing to the databasepublic boolean isUseDelimitedSqlIdentifiers()
true
if delimited SQL identifiers shall be usedpublic void setUseDelimitedSqlIdentifiers(boolean useDelimitedSqlIdentifiers)
useDelimitedSqlIdentifiers
- true
if delimited SQL identifiers shall be usedpublic Platform getPlatform() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |