org.apache.manifoldcf.core
Class DBDrop
java.lang.Object
org.apache.manifoldcf.core.DBInitializationCommand
org.apache.manifoldcf.core.DBDrop
- All Implemented Interfaces:
- InitializationCommand
public class DBDrop
- extends DBInitializationCommand
Drop the database using the name as specified through the ManifoldCF. The username and password for the
configured database need to be specified during construction.
|
Field Summary |
static java.lang.String |
_rcsid
|
|
Constructor Summary |
DBDrop(java.lang.String userName,
java.lang.String password)
The userName and password for the database to be dropped |
|
Method Summary |
protected void |
doExecute(IThreadContext tc)
|
static void |
main(java.lang.String[] args)
Useful when running this class standalone. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
DBDrop
public DBDrop(java.lang.String userName,
java.lang.String password)
- The userName and password for the database to be dropped
- Parameters:
userName - String containing the mandatory database usernamepassword - String containing the mandatory database password
doExecute
protected void doExecute(IThreadContext tc)
throws ManifoldCFException
- Specified by:
doExecute in class DBInitializationCommand
- Throws:
ManifoldCFException
main
public static void main(java.lang.String[] args)
- Useful when running this class standalone. Provide two arguments, the first is the username, the second
the password. The password is optional, an empty string is used as the default password.
- Parameters:
args - String[] containing the arguments