Package google.registry.tools
Class LockOrUnlockDomainCommand
java.lang.Object
google.registry.tools.ConfirmingCommand
google.registry.tools.LockOrUnlockDomainCommand
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
LockDomainCommand
,UnlockDomainCommand
Shared base class for commands to registry lock or unlock a domain via EPP.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.google.common.collect.ImmutableSet
<StatusValue> Fields inherited from class google.registry.tools.ConfirmingCommand
errorPrintStream, printStream
-
Constructor Summary
-
Method Summary
Methods inherited from class google.registry.tools.ConfirmingCommand
checkExecutionState, dontRunCommand, postExecute, prompt, run
-
Field Details
-
REGISTRY_LOCK_STATUSES
-
-
Constructor Details
-
LockOrUnlockDomainCommand
public LockOrUnlockDomainCommand()
-
-
Method Details
-
getDomains
-
init
protected void init()Description copied from class:ConfirmingCommand
Initializes the command.- Overrides:
init
in classConfirmingCommand
-
execute
Description copied from class:ConfirmingCommand
Perform the command and return a result description.- Specified by:
execute
in classConfirmingCommand
-
createAndApplyRequest
-