public final class DropUser extends Command
| Constructor and Description |
|---|
DropUser(java.lang.String name)
Default constructor.
|
DropUser(java.lang.String name,
java.lang.String db)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
build(CommandBuilder cb)
Builds a string representation from the command.
|
protected boolean |
run()
Executes the command and serializes the result (internal call).
|
protected boolean |
run(java.lang.String user,
java.lang.String db)
Runs the command for the specified user and database.
|
close, error, execute, execute, getOption, getOption, info, info, newData, pinned, result, run, setInput, setInput, stoppable, supportsProg, toString, updated, updatingpublic DropUser(java.lang.String name)
name - name of userpublic DropUser(java.lang.String name,
java.lang.String db)
name - name of userdb - databaseprotected boolean run()
Commandprotected boolean run(java.lang.String user,
java.lang.String db)
user - user to be modifieddb - database to be modifiedpublic void build(CommandBuilder cb)
Command