Package google.registry.tools
Class CreateUserCommand
java.lang.Object
google.registry.tools.ConfirmingCommand
google.registry.tools.CreateOrUpdateUserCommand
google.registry.tools.CreateUserCommand
- All Implemented Interfaces:
Command
,CommandWithConnection
Command to create a new 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.void
setConnection
(ServiceConnection connection) Methods inherited from class google.registry.tools.ConfirmingCommand
checkExecutionState, dontRunCommand, init, postExecute, prompt, run
-
Constructor Details
-
CreateUserCommand
public CreateUserCommand()
-
-
Method Details
-
execute
Description copied from class:ConfirmingCommand
Perform the command and return a result description.- Overrides:
execute
in classCreateOrUpdateUserCommand
- Throws:
Exception
-
setConnection
- Specified by:
setConnection
in interfaceCommandWithConnection
-