org.apache.torque.mojo
Class DropMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.torque.mojo.BaseMojo
          extended by org.apache.torque.mojo.AbstractSQLExecutorMojo
              extended by org.apache.torque.mojo.AbstractDBACommandMojo
                  extended by org.apache.torque.mojo.SingleDBACommandMojo
                      extended by org.apache.torque.mojo.DropMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class DropMojo
extends SingleDBACommandMojo

Authenticates to a database server using credentials with DBA authority and drops a database along with the default user that was created for accessing that database. See also impex:create


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
DropMojo()
           
 
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.AbstractSQLExecutorMojo
addText, convertNullToEmpty, executeMojo, getConn, getConnection, getCredentials, getDelimiter, getDelimiterType, getDisplayPassword, getDriver, getDriverProperties, getFileFilter, getNewConnectionHandler, getNewCredentials, getOnError, getPassword, getSettingsKey, getSqlCommand, getSqlExecutor, getSrcFiles, getSuccessfulStatements, getTargetDatabase, getTotalStatements, getTransactions, getUrl, getUsername, isAppend, isAutocommit, isEnableAnonymousPassword, isEscapeProcessing, isKeepFormat, isNullOrEmpty, isShowheaders, isShowPassword, isSkipOnConnectionError, setAppend, setAutocommit, setConn, setCredentials, setDelimiter, setDelimiterType, setDriver, setDriverProperties, setEnableAnonymousPassword, setEscapeProcessing, setFileFilter, setKeepFormat, setOnError, setPassword, setSettingsKey, setShowheaders, setShowPassword, setSkipOnConnectionError, setSqlCommand, setSrcFiles, setSuccessfulStatements, setTargetDatabase, setTotalStatements, setTransactions, setUrl, setUsername, updateCredentials, validateCredentials, validateCredentials
 
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

command

String command
The database command to execute

Constructor Detail

DropMojo

public DropMojo()
Method Detail

getCommand

public String getCommand()
Specified by:
getCommand in class SingleDBACommandMojo

setCommand

public void setCommand(String command)


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.