Package 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 theManifoldCF
. The username and password for the configured database need to be specified during construction.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_rcsid
-
Constructor Summary
Constructors Constructor Description DBDrop(java.lang.String userName, java.lang.String password)
The userName and password for the database to be dropped
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doExecute(IThreadContext tc)
static void
main(java.lang.String[] args)
Useful when running this class standalone.-
Methods inherited from class org.apache.manifoldcf.core.DBInitializationCommand
execute, getPassword, getUserName
-
-
-
-
Field Detail
-
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
-
Method Detail
-
doExecute
protected void doExecute(IThreadContext tc) throws ManifoldCFException
- Specified by:
doExecute
in classDBInitializationCommand
- 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
-
-