Package google.registry.tools
Class RemoveRegistryOneKeyCommand
- java.lang.Object
-
- google.registry.tools.ConfirmingCommand
-
- google.registry.tools.MutatingCommand
-
- google.registry.tools.RemoveRegistryOneKeyCommand
-
- All Implemented Interfaces:
Command
,CommandWithRemoteApi
public class RemoveRegistryOneKeyCommand extends MutatingCommand
Command to remove the Registry 1.0 key inDomainBase
entity.
-
-
Constructor Summary
Constructors Constructor Description RemoveRegistryOneKeyCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
init()
Initializes the command.protected void
postBatchExecute()
Performs any execution step after each batch.-
Methods inherited from class google.registry.tools.MutatingCommand
execute, flushTransaction, getChangedEntities, prompt, stageEntityChange, stageEntityChange
-
Methods inherited from class google.registry.tools.ConfirmingCommand
checkExecutionState, dontRunCommand, postExecute, run
-
-
-
-
Method Detail
-
init
protected void init() throws java.lang.Exception
Description copied from class:MutatingCommand
Initializes the command.Subclasses override this method to populate
MutatingCommand.changedEntitiesMap
with updated entities. The old entity is the key and the new entity is the value; the key is null for newly created entities and the value is null for deleted entities.- Specified by:
init
in classMutatingCommand
- Throws:
java.lang.Exception
-
postBatchExecute
protected void postBatchExecute()
Description copied from class:MutatingCommand
Performs any execution step after each batch.- Overrides:
postBatchExecute
in classMutatingCommand
-
-