Package google.registry.tools
Class SetDatabaseMigrationStateCommand
- java.lang.Object
-
- google.registry.tools.ConfirmingCommand
-
- google.registry.tools.SetDatabaseMigrationStateCommand
-
- All Implemented Interfaces:
Command
public class SetDatabaseMigrationStateCommand extends ConfirmingCommand
Command to set the Registry 3.0 database migration state schedule.
-
-
Constructor Summary
Constructors Constructor Description SetDatabaseMigrationStateCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
execute()
Perform the command and return a result description.protected java.lang.String
prompt()
Returns the optional extra confirmation prompt for the command.-
Methods inherited from class google.registry.tools.ConfirmingCommand
checkExecutionState, dontRunCommand, init, postExecute, run
-
-
-
-
Method Detail
-
prompt
protected java.lang.String prompt()
Description copied from class:ConfirmingCommand
Returns the optional extra confirmation prompt for the command.- Overrides:
prompt
in classConfirmingCommand
-
execute
protected java.lang.String execute()
Description copied from class:ConfirmingCommand
Perform the command and return a result description.- Specified by:
execute
in classConfirmingCommand
-
-