|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.torque.mojo.BaseMojo
org.apache.torque.mojo.AbstractSQLExecutorMojo
org.apache.torque.mojo.AbstractDBACommandMojo
org.apache.torque.mojo.SingleDBACommandMojo
org.apache.torque.mojo.CreateMojo
public class CreateMojo
Authenticates to a database server using credentials with DBA authority and creates an empty database along with a
default user for accessing the newly created database. See also impex:drop
| Field Summary | |
|---|---|
(package private) String |
command
The database command to execute |
| Fields inherited from class org.apache.torque.mojo.AbstractDBACommandMojo |
|---|
database, DATABASE_PROPERTY, DATABASE_PW_PROPERTY, DATABASE_USERNAME_PROPERTY, databasePassword, databaseUser, dbaSettingsKey, serverUrl |
| Fields inherited from class org.apache.torque.mojo.AbstractSQLExecutorMojo |
|---|
append, autocommit, conn, connectionHandler, credentials, delimiter, delimiterType, driver, DRIVER_INFO_PROPERTIES_PASSWORD, DRIVER_INFO_PROPERTIES_USER, driverProperties, enableAnonymousPassword, enableAnonymousUsername, escapeProcessing, FILE_SORTING_ASC, FILE_SORTING_DSC, fileFilter, jdbcUtils, keepFormat, onError, password, platform, settingsKey, showheaders, showPassword, skipOnConnectionError, sqlCommand, srcFiles, successfulStatements, targetDatabase, totalStatements, transactions, url, username, utils |
| Fields inherited from class org.apache.torque.mojo.BaseMojo |
|---|
FS, SKIP_PACKAGING_TYPE |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
CreateMojo()
|
|
| Method Summary | |
|---|---|
String |
getCommand()
|
void |
setCommand(String command)
|
| Methods inherited from class org.apache.torque.mojo.SingleDBACommandMojo |
|---|
configureTransactions |
| Methods inherited from class org.apache.torque.mojo.AbstractDBACommandMojo |
|---|
getContextProperties, getDatabase, getDatabasePassword, getDatabaseUser, getDbaSettingsKey, getServerFromSettingsKey, getServerUrl, getTransactionDescription, getUpdatedPassword, getUpdatedUsername, setDatabase, setDatabasePassword, setDatabaseUser, setDbaSettingsKey, setServerUrl, updateConfiguration, validateConfiguration |
| Methods inherited from class org.apache.torque.mojo.BaseMojo |
|---|
afterExecution, beforeExecution, execute, getEncoding, getMavenSession, getProject, getSettings, isForceMojoExecution, isSkip, isStartMavenLogger, setEncoding, setForceMojoExecution, setMavenSession, setProject, setSettings, setSkip, setStartMavenLogger, skipMojo |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
String command
| Constructor Detail |
|---|
public CreateMojo()
| Method Detail |
|---|
public String getCommand()
getCommand in class SingleDBACommandMojopublic void setCommand(String command)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||