public static class Ant.AntVersionGenerator extends Ant.BasicAntTask
VersionGenerator
Constructor and Description |
---|
Ant.AntVersionGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
generate(JavaSourceFactory pFactory,
JavaQName pTargetClass)
Abstract method, which is invoked to generate the target class.
|
protected java.sql.Connection |
getConnection() |
java.lang.String |
getDriver()
Returns the JDBC driver.
|
java.lang.String |
getPassword()
Returns the JDBC password.
|
java.lang.String |
getSchema()
Returns the database schema name.
|
java.util.List |
getTables()
Returns the table list.
|
java.lang.String |
getUrl()
Returns the JDBC URL.
|
java.lang.String |
getUser()
Returns the JDBC user.
|
java.lang.String |
getVerColumn()
Returns the column with the version number.
|
boolean |
isGeneratingLogging()
Returns whether logging statements are being generated.
|
void |
setDriver(java.lang.String pDriver)
Sets the JDBC driver.
|
void |
setGeneratingLogging(boolean pGeneratingLogging)
Sets whether logging statements are being generated.
|
void |
setPassword(java.lang.String pPassword)
Sets the JDBC password.
|
void |
setSchema(java.lang.String pSchema)
Sets the database schema name.
|
void |
setTables(java.lang.String pTables)
Sets the table list; the table names are separated with white space.
|
void |
setUrl(java.lang.String pUrl)
Sets the JDBC URL.
|
void |
setUser(java.lang.String pUser)
Sets the JDBC user.
|
void |
setVerColumn(java.lang.String pColumn)
Sets the column with the version number.
|
doExecute, finish, setTargetClass
addClasspath, execute, getClasspath, getClasspathRef, getDestDir, isSettingLoggerFactory, setClasspathRef, setDestDir, setSettingLoggerFactory
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public java.lang.String getDriver()
public void setDriver(java.lang.String pDriver)
public java.lang.String getPassword()
public void setPassword(java.lang.String pPassword)
public java.lang.String getUrl()
public void setUrl(java.lang.String pUrl)
public java.lang.String getUser()
public void setUser(java.lang.String pUser)
public java.lang.String getSchema()
public void setSchema(java.lang.String pSchema)
public void setTables(java.lang.String pTables)
public java.util.List getTables()
public void setVerColumn(java.lang.String pColumn)
public java.lang.String getVerColumn()
public void setGeneratingLogging(boolean pGeneratingLogging)
public boolean isGeneratingLogging()
protected java.sql.Connection getConnection() throws java.lang.ClassNotFoundException, java.sql.SQLException
java.lang.ClassNotFoundException
java.sql.SQLException
public void generate(JavaSourceFactory pFactory, JavaQName pTargetClass) throws java.lang.Exception
Ant.BasicAntTask
generate
in class Ant.BasicAntTask
java.lang.Exception