Package google.registry.tools
Class UpdateRecurrenceCommand
java.lang.Object
google.registry.tools.ConfirmingCommand
google.registry.tools.UpdateRecurrenceCommand
- All Implemented Interfaces:
Command
Command to update
BillingRecurrence
billing events with a new behavior and/or price.
More specifically, this closes the existing recurrence object and creates a new, similar,
object as well as a corresponding synthetic DomainHistory
object. This is done to
preserve the recurrence's history.
-
Field Summary
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
-
Constructor Details
-
UpdateRecurrenceCommand
public UpdateRecurrenceCommand()
-
-
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
-