Package google.registry.tools
Class CreatePremiumListCommand
java.lang.Object
google.registry.tools.ConfirmingCommand
google.registry.tools.CreatePremiumListCommand
- All Implemented Interfaces:
Command
Command to create a
PremiumList
on Database.-
Field Summary
Modifier and TypeFieldDescriptionprotected org.joda.money.CurrencyUnit
Fields inherited from class google.registry.tools.ConfirmingCommand
errorPrintStream, printStream
-
Constructor Summary
-
Method Summary
Methods inherited from class google.registry.tools.ConfirmingCommand
checkExecutionState, dontRunCommand, init, postExecute, run
-
Field Details
-
inputData
-
currency
protected org.joda.money.CurrencyUnit currency
-
-
Constructor Details
-
CreatePremiumListCommand
public CreatePremiumListCommand()
-
-
Method Details
-
prompt
Description copied from class:ConfirmingCommand
Returns the optional extra confirmation prompt for the command.- Overrides:
prompt
in classConfirmingCommand
- Throws:
Exception
-
execute
Description copied from class:ConfirmingCommand
Perform the command and return a result description.- Specified by:
execute
in classConfirmingCommand
- Throws:
Exception
-