Package google.registry.tools
Class DeleteUserCommand
java.lang.Object
google.registry.tools.ConfirmingCommand
google.registry.tools.DeleteUserCommand
- All Implemented Interfaces:
Command
,CommandWithConnection
Deletes a
User
.-
Field Summary
Fields inherited from class google.registry.tools.ConfirmingCommand
errorPrintStream, printStream
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
execute()
Perform the command and return a result description.protected String
prompt()
Returns the optional extra confirmation prompt for the command.void
setConnection
(ServiceConnection connection) Methods inherited from class google.registry.tools.ConfirmingCommand
checkExecutionState, dontRunCommand, init, postExecute, run
-
Constructor Details
-
DeleteUserCommand
public DeleteUserCommand()
-
-
Method Details
-
prompt
Description copied from class:ConfirmingCommand
Returns the optional extra confirmation prompt for the command.- Overrides:
prompt
in classConfirmingCommand
-
execute
Description copied from class:ConfirmingCommand
Perform the command and return a result description.- Specified by:
execute
in classConfirmingCommand
- Throws:
Exception
-
setConnection
- Specified by:
setConnection
in interfaceCommandWithConnection
-