public abstract class DBInitializationCommand extends Object implements InitializationCommand
| Constructor and Description |
|---|
DBInitializationCommand(String userName,
String password)
The userName and password for the database on which the command needs to be performed
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doExecute(IThreadContext tc) |
void |
execute()
Execute the command.
|
protected String |
getPassword() |
protected String |
getUserName() |
public DBInitializationCommand(String userName, String password)
userName - String containing the mandatory database usernamepassword - String containing the mandatory database passwordpublic void execute()
throws ManifoldCFException
InitializationCommandexecute in interface InitializationCommandManifoldCFException - Thrown if the execution failsprotected abstract void doExecute(IThreadContext tc) throws ManifoldCFException
ManifoldCFExceptionprotected String getPassword()
protected String getUserName()