|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.cjdbc.console.text.module.AbstractConsoleModule org.objectweb.cjdbc.console.text.module.VirtualDatabaseAdmin
This is the C-JDBC controller console virtual database administration module.
Nested Class Summary |
Nested classes inherited from class org.objectweb.cjdbc.console.text.module.AbstractConsoleModule |
AbstractConsoleModule.CommandDelimiter |
Field Summary | |
private java.lang.String |
login
|
private java.lang.String |
password
|
private java.lang.String |
virtualDbName
|
Fields inherited from class org.objectweb.cjdbc.console.text.module.AbstractConsoleModule |
commands, console, consoleCompletor, history, quit |
Constructor Summary | |
VirtualDatabaseAdmin(Console console)
Creates a new VirtualDatabaseAdmin instance. |
Method Summary | |
void |
addExpertCommands()
Add the expert commands to the list of admin commands. |
private java.util.Set |
expertCommandsSet()
Create a Set of expert commands.
|
java.lang.String |
getDescriptionString()
Text description of this module |
java.lang.String |
getLogin()
Returns the login value. |
java.lang.String |
getPassword()
Returns the password value. |
java.lang.String |
getPromptString()
Get the prompt string for this module |
java.lang.String |
getVirtualDbName()
Returns the virtualDbName value. |
protected void |
loadCommands()
Loads the commands for this module |
void |
login(java.lang.String[] params)
Handles login in this module |
void |
removeExpertCommands()
Revmoe the expert commands from the list of admin commands. |
Methods inherited from class org.objectweb.cjdbc.console.text.module.AbstractConsoleModule |
findConsoleCommand, getCommands, getCompletor, getConsole, getHashCommands, getHistory, handleCommandLine, handlePrompt, help, loadCompletor, loadHistory, manageHistory, quit, reloadCompletor, storeHistory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String virtualDbName
private java.lang.String login
private java.lang.String password
Constructor Detail |
public VirtualDatabaseAdmin(Console console)
VirtualDatabaseAdmin
instance.
console
- console consoleMethod Detail |
public java.lang.String getLogin()
public java.lang.String getPassword()
public java.lang.String getVirtualDbName()
public void login(java.lang.String[] params)
AbstractConsoleModule
login
in class AbstractConsoleModule
params
- parameters to use to login in this moduleAbstractConsoleModule.login(java.lang.String[])
public java.lang.String getDescriptionString()
AbstractConsoleModule
getDescriptionString
in class AbstractConsoleModule
String
description to displayAbstractConsoleModule.getDescriptionString()
public java.lang.String getPromptString()
AbstractConsoleModule
getPromptString
in class AbstractConsoleModule
String
to place before promptAbstractConsoleModule.getPromptString()
protected void loadCommands()
AbstractConsoleModule
loadCommands
in class AbstractConsoleModule
AbstractConsoleModule.loadCommands()
private java.util.Set expertCommandsSet()
Set
of expert commands.
This Set
of commands can be added/removed dynamically
to the list of admin commands with the methods addExpertCommands()
and removeExpertCommands()
public void addExpertCommands()
public void removeExpertCommands()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |